mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 03:15:37 +00:00
Serial commands handling with USB VCP
This commit is contained in:
1 parent
bbed36d997
commit
1e44113fde
5 files changed
+308
-112
No files matched your search
+4
-3
@@ -52,9 +52,9 @@
|
||||
#ifdef ENABLE_UART
|
||||
#include "driver/uart.h"
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_USB
|
||||
#include "driver/vcp.h"
|
||||
|
||||
#endif
|
||||
#include "helper/battery.h"
|
||||
#include "helper/boot.h"
|
||||
|
||||
@@ -84,8 +84,9 @@ void Main(void)
|
||||
UART_Init();
|
||||
UART_Send(UART_Version, strlen(UART_Version));
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_USB
|
||||
VCP_Init();
|
||||
#endif
|
||||
|
||||
// Not implementing authentic device checks
|
||||
|
||||
|
||||
Reference in new issue
Block a user