Home
last modified time | relevance | path

Searched refs:str_num (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/py_engine/external/amp_boot/
A Damp_boot_uart.c37 int32_t str_num = 0; in pyamp_boot_uart_recv_line() local
44 str_line[str_num] = c; in pyamp_boot_uart_recv_line()
46 if ((str_num > 0) && (str_line[str_num - 1] == '\r')) { in pyamp_boot_uart_recv_line()
47 str_num--; in pyamp_boot_uart_recv_line()
49 return str_num; in pyamp_boot_uart_recv_line()
51 if (str_num >= lens) { in pyamp_boot_uart_recv_line()
54 str_num++; in pyamp_boot_uart_recv_line()
/AliOS-Things-master/components/amp/services/amp_boot/
A Damp_boot_uart.c55 int32_t str_num = 0; local
66 str_line[str_num] = c;
68 if ((str_num > 0) && (str_line[str_num - 1] == '\r')) {
69 str_num --;
71 return str_num;
73 if (str_num >= lens) {
76 str_num ++;

Completed in 6 milliseconds