add mqttclient_iot_explorer demo on tos_evb_aiot board

This commit is contained in:
mculover666
2021-12-25 14:18:16 +08:00
parent e02178dd84
commit 9fb07d7c2c
46 changed files with 14273 additions and 34 deletions

View File

@@ -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;