mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-08-06 07:00:05 +08:00
feat(esp_event): examples use esp_event instead of old event process
This commit is contained in:
@ -22,10 +22,13 @@
|
||||
#include "driver/uart.h"
|
||||
#include "nano_console.h"
|
||||
#include "esp_libc.h"
|
||||
#include "esp_task.h"
|
||||
|
||||
#ifndef ESP_FACTORY_TEST_EXTRA_COMPONENTS
|
||||
|
||||
#ifndef CONFIG_ESP_CONSOLE_UART_NUM
|
||||
#define CONFIG_ESP_CONSOLE_UART_NUM 0
|
||||
#endif
|
||||
|
||||
#define TAG "factory-test"
|
||||
|
||||
@ -43,7 +46,7 @@ static void initialize_console()
|
||||
* correct while APB frequency is changing in light sleep mode.
|
||||
*/
|
||||
uart_config_t uart_config = {
|
||||
.baud_rate = CONFIG_CONSOLE_UART_BAUDRATE,
|
||||
.baud_rate = CONFIG_ESP_CONSOLE_UART_BAUDRATE,
|
||||
.data_bits = UART_DATA_8_BITS,
|
||||
.parity = UART_PARITY_DISABLE,
|
||||
.stop_bits = UART_STOP_BITS_1,
|
||||
|
Reference in New Issue
Block a user