mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-17 01:12:40 +00:00
lwiperf: TX buffer can be static
This commit is contained in:
parent
e15872982e
commit
b8e94ec066
@ -112,7 +112,7 @@ typedef struct _lwiperf_state_tcp {
|
|||||||
/** List of active iperf sessions */
|
/** List of active iperf sessions */
|
||||||
static lwiperf_state_base_t* lwiperf_all_connections;
|
static lwiperf_state_base_t* lwiperf_all_connections;
|
||||||
/** A const buffer to send from: we want to measure sending, not copying! */
|
/** A const buffer to send from: we want to measure sending, not copying! */
|
||||||
const u8_t lwiperf_txbuf_const[1600] = {
|
static const u8_t lwiperf_txbuf_const[1600] = {
|
||||||
'0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9',
|
'0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9',
|
||||||
'0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9',
|
'0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9',
|
||||||
'0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9',
|
'0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9',
|
||||||
|
Loading…
Reference in New Issue
Block a user