diff --git a/.vscode/settings.json b/.vscode/settings.json index 7b8de78..13add5f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,7 @@ { "files.associations": { - "uart.h": "c" + "uart.h": "c", + "device.h": "c", + "pc_uart.h": "c" } } \ No newline at end of file diff --git a/User/device/uart_pc.c b/User/device/pc_uart.c similarity index 96% rename from User/device/uart_pc.c rename to User/device/pc_uart.c index 8fd5241..0e40455 100644 --- a/User/device/uart_pc.c +++ b/User/device/pc_uart.c @@ -1,5 +1,5 @@ /* Includes ----------------------------------------------------------------- */ -#include "uart.h" +#include "pc_uart.h" #include @@ -50,5 +50,5 @@ int8_t UART_StartSend(UART_t *huart) { return DEVICE_OK } - return DEVICE_ERROR; + return DEVICE_ERR; } \ No newline at end of file diff --git a/User/device/uart_pc.h b/User/device/pc_uart.h similarity index 100% rename from User/device/uart_pc.h rename to User/device/pc_uart.h