add mqttclient_iot_explorer demo on tos_evb_aiot board
This commit is contained in:
@@ -491,7 +491,9 @@ __STATIC__ void ec600s_incoming_data_process(void)
|
||||
}
|
||||
|
||||
do {
|
||||
#if !defined(MIN)
|
||||
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
||||
#endif
|
||||
read_len = MIN(data_len, sizeof(buffer));
|
||||
if (tos_at_uart_read(buffer, read_len) != read_len) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user