From 8a52be72880532a016ceab0172d626fa2639b1ef Mon Sep 17 00:00:00 2001 From: norbert-walter Date: Thu, 31 Oct 2024 09:43:57 +0100 Subject: [PATCH] Stop code for obp60task --- lib/obp60task/obp60task.cpp | 2 ++ lib/obp60task/platformio.ini | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/obp60task/obp60task.cpp b/lib/obp60task/obp60task.cpp index d6691b1..abdacb1 100644 --- a/lib/obp60task/obp60task.cpp +++ b/lib/obp60task/obp60task.cpp @@ -287,6 +287,8 @@ void underVoltageDetection(GwApi *api){ // OBP60 Task //#################################################################################### void OBP60Task(GwApi *api){ +// vTaskDelete(NULL); +// return; GwLog *logger=api->getLogger(); GwConfigHandler *config=api->getConfig(); startLedTask(api); diff --git a/lib/obp60task/platformio.ini b/lib/obp60task/platformio.ini index d5b04a1..dc919a9 100644 --- a/lib/obp60task/platformio.ini +++ b/lib/obp60task/platformio.ini @@ -36,10 +36,10 @@ lib_deps = signetica/SunRise@2.0.2 build_flags= #https://thingpulse.com/usb-settings-for-logging-with-the-esp32-s3-in-platformio/?srsltid=AfmBOopGskbkr4GoeVkNlFaZXe_zXkLceKF6Rn-tmoXABCeAR2vWsdHL - -D ARDUINO_USB_MODE=1 #0=OTG (to implement other external devices), 1=CDC (is a serial device) - -D ARDUINO_USB_CDC_ON_BOOT=1 #0=JTAG, 1=CDC (serial device) - -D CORE_DEBUG_LEVEL=1 #Debug level for CPU core via CDC (seral device) - -D TIME=$UNIX_TIME #Set PC time for RTC (only settable via VSC) +# -D ARDUINO_USB_MODE=1 #0=OTG (to implement other external devices), 1=CDC (is a serial device) +# -D ARDUINO_USB_CDC_ON_BOOT=1 #0=JTAG, 1=CDC (serial device) +# -D CORE_DEBUG_LEVEL=1 #Debug level for CPU core via CDC (seral device) +# -D TIME=$UNIX_TIME #Set PC time for RTC (only settable via VSC) -D DISABLE_DIAGNOSTIC_OUTPUT #Disable diagnostic output for GxEPD2 lib -D BOARD_OBP60S3 #Board OBP60 V2.1 with ESP32S3 # -D HARDWARE_V20 #Hardware revision V2.0