File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ static const int SIGNAL_SIGIO1 = 0x1;
29
29
static const int SIGNAL_SIGIO2 = 0x2 ;
30
30
static const int SIGIO_TIMEOUT = 5000 ; // [ms]
31
31
32
- Thread thread;
32
+ Thread thread (osPriorityNormal, tcp_global::TCP_OS_STACK_SIZE) ;
33
33
volatile bool running = true ;
34
34
}
35
35
@@ -50,8 +50,8 @@ static void check_const_len_rand_sequence()
50
50
sock.sigio (callback (_sigio_handler1, Thread::gettid ()));
51
51
52
52
static const int BUFF_SIZE = 10 ;
53
- char rx_buff[BUFF_SIZE] = {0 };
54
- char tx_buff[BUFF_SIZE] = {0 };
53
+ static char rx_buff[BUFF_SIZE] = {0 };
54
+ static char tx_buff[BUFF_SIZE] = {0 };
55
55
56
56
57
57
int bytes2process;
@@ -107,8 +107,8 @@ static void check_var_len_rand_sequence()
107
107
sock.sigio (callback (_sigio_handler2, Thread::gettid ()));
108
108
109
109
static const int BUFF_SIZE = 1001 ;
110
- char rx_buff[BUFF_SIZE];
111
- char tx_buff[BUFF_SIZE];
110
+ static char rx_buff[BUFF_SIZE];
111
+ static char tx_buff[BUFF_SIZE];
112
112
static const int pkt_size_diff = 100 ;
113
113
114
114
int bytes2process;
You can’t perform that action at this time.
0 commit comments