From 9650ff5925e75ae8675879efcaf4178cbe8f4e3e Mon Sep 17 00:00:00 2001 From: Silvano Seva Date: Thu, 26 Aug 2021 10:21:42 +0200 Subject: [PATCH] Removed macro disabling by default the USB virtual COM port, which is now permanently enabled. --- platform/mcu/STM32F4xx/boot/bsp.cpp | 2 -- platform/targets/DM-1801/hwconfig.h | 3 --- platform/targets/GD-77/hwconfig.h | 3 --- platform/targets/MD-3x0/hwconfig.h | 3 --- platform/targets/MD-9600/hwconfig.h | 3 --- platform/targets/MD-UV3x0/hwconfig.h | 3 --- 6 files changed, 17 deletions(-) diff --git a/platform/mcu/STM32F4xx/boot/bsp.cpp b/platform/mcu/STM32F4xx/boot/bsp.cpp index 33d471eb..662e264e 100644 --- a/platform/mcu/STM32F4xx/boot/bsp.cpp +++ b/platform/mcu/STM32F4xx/boot/bsp.cpp @@ -72,9 +72,7 @@ void IRQbspInit() void bspInit2() { -#ifdef VCOM_ENABLED vcom_init(); -#endif } // diff --git a/platform/targets/DM-1801/hwconfig.h b/platform/targets/DM-1801/hwconfig.h index 5b76775c..edfe16a9 100644 --- a/platform/targets/DM-1801/hwconfig.h +++ b/platform/targets/DM-1801/hwconfig.h @@ -23,9 +23,6 @@ #include "MK22F51212.h" -/* Enable Serial over USB support */ -//#define VCOM_ENABLED - /* Screen dimensions */ #define SCREEN_WIDTH 128 #define SCREEN_HEIGHT 64 diff --git a/platform/targets/GD-77/hwconfig.h b/platform/targets/GD-77/hwconfig.h index 4ecf54af..5160285d 100644 --- a/platform/targets/GD-77/hwconfig.h +++ b/platform/targets/GD-77/hwconfig.h @@ -23,9 +23,6 @@ #include "MK22F51212.h" -/* Enable Serial over USB support */ -//#define VCOM_ENABLED - /* Screen dimensions */ #define SCREEN_WIDTH 128 #define SCREEN_HEIGHT 64 diff --git a/platform/targets/MD-3x0/hwconfig.h b/platform/targets/MD-3x0/hwconfig.h index 3cf558db..b4f44814 100644 --- a/platform/targets/MD-3x0/hwconfig.h +++ b/platform/targets/MD-3x0/hwconfig.h @@ -22,9 +22,6 @@ #include -/* Enable Serial over USB support */ -//#define VCOM_ENABLED - /* Device has a working real time clock */ #define HAS_RTC diff --git a/platform/targets/MD-9600/hwconfig.h b/platform/targets/MD-9600/hwconfig.h index a77aa97e..cb751470 100644 --- a/platform/targets/MD-9600/hwconfig.h +++ b/platform/targets/MD-9600/hwconfig.h @@ -23,9 +23,6 @@ #include -/* Enable Serial over USB support */ -//#define VCOM_ENABLED - /* Device has a working real time clock */ #define HAS_RTC diff --git a/platform/targets/MD-UV3x0/hwconfig.h b/platform/targets/MD-UV3x0/hwconfig.h index 5d532d9f..372f924b 100644 --- a/platform/targets/MD-UV3x0/hwconfig.h +++ b/platform/targets/MD-UV3x0/hwconfig.h @@ -22,9 +22,6 @@ #include -/* Enable Serial over USB support */ -//#define VCOM_ENABLED - /* Device has a working real time clock */ #define HAS_RTC