refactor(examples): reformat peripheral examples with astyle_py

This commit is contained in:
morris
2023-09-28 09:43:12 +08:00
parent 1b2484214c
commit b12e250b2c
79 changed files with 677 additions and 703 deletions

View File

@@ -98,7 +98,7 @@ static void echo_task(void *arg)
ESP_LOGI(TAG, "UART start recieve loop.\r");
echo_send(uart_num, "Start RS485 UART test.\r\n", 24);
while(1) {
while (1) {
//Read data from UART
int len = uart_read_bytes(uart_num, data, BUF_SIZE, PACKET_READ_TICS);