mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-14 06:04:19 +00:00
refactor(uart_vfs): Move uart implementation of vfs to esp_driver_uart
Deprecated esp_vfs_dev_uart_xxx APIs vfs_uart test case moved to esp_driver_uart test_apps Astyle fixed for uart_vfs
This commit is contained in:
@@ -15,8 +15,7 @@
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
#include "esp_log.h"
|
||||
#include "esp_vfs.h"
|
||||
#include "esp_vfs_dev.h"
|
||||
#include "driver/uart_vfs.h"
|
||||
#include "driver/uart.h"
|
||||
#include "esp_netif.h"
|
||||
#include "lwip/sockets.h"
|
||||
@@ -107,7 +106,7 @@ static void uart1_init(void)
|
||||
uart1_deinit();
|
||||
}
|
||||
|
||||
esp_vfs_dev_uart_use_driver(1);
|
||||
uart_vfs_dev_use_driver(1);
|
||||
}
|
||||
|
||||
static void uart1_write_task(void *param)
|
||||
|
Reference in New Issue
Block a user