Addres @tyeth's review

This commit is contained in:
brentru 2025-08-13 15:15:22 -04:00
parent 80a6cdc6e0
commit 98f045e3c7
2 changed files with 8 additions and 21 deletions

View file

@ -90,9 +90,9 @@ lib_deps =
https://github.com/tyeth/omron-devhub_d6t-arduino.git
https://github.com/pstolarz/OneWireNg.git
; COMMENT OUT FOR RP2040/RP2350 BOARDS
; https://github.com/milesburton/Arduino-Temperature-Control-Library.git
https://github.com/milesburton/Arduino-Temperature-Control-Library.git
; AND UNCOMMENT FOR RP2040/RP2350 BOARDS
https://github.com/pstolarz/Arduino-Temperature-Control-Library.git
; https://github.com/pstolarz/Arduino-Temperature-Control-Library.git
https://github.com/Sensirion/arduino-sht.git
https://github.com/Sensirion/arduino-i2c-scd4x.git
https://github.com/Sensirion/arduino-i2c-sen5x.git
@ -135,6 +135,7 @@ platform = https://github.com/maxgerhardt/platform-raspberrypi.git#develop
platform_packages = framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git
framework = arduino
board_build.core = earlephilhower
board_build.filesystem_size = 0.5m
lib_ignore = WiFiNINA, WiFi101, Adafruit Zero DMA Library, OneWire
lib_compat_mode = soft ; can be stricter once pio detects SleepyDog on RP2040
@ -654,12 +655,6 @@ build_flags =
; -DPIO_FRAMEWORK_ARDUINO_ENABLE_IPV6
[env:adafruit_fruitjam]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git#develop
platform_packages = framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git
board = adafruit_fruitjam
framework = arduino
board_build.core = earlephilhower
board_build.filesystem_size = 0.5m
lib_ignore = WiFi, WiFi101, Adafruit Zero DMA Library
lib_compat_mode = soft
build_flags = -DUSE_TINYUSB -DADAFRUIT_FRUITJAM_RP2350

View file

@ -47,24 +47,16 @@
// Define actual debug output functions when necessary.
#ifdef WS_DEBUG
#define WS_DEBUG_PRINT(...) \
{ \
WS_PRINTER.print(__VA_ARGS__); \
} ///< Prints debug output.
{ WS_PRINTER.print(__VA_ARGS__); } ///< Prints debug output.
#define WS_DEBUG_PRINTLN(...) \
{ \
WS_PRINTER.println(__VA_ARGS__); \
} ///< Prints line from debug output.
{ WS_PRINTER.println(__VA_ARGS__); } ///< Prints line from debug output.
#define WS_DEBUG_PRINTHEX(...) \
{ \
WS_PRINTER.print(__VA_ARGS__, HEX); \
} ///< Prints debug output.
{ WS_PRINTER.print(__VA_ARGS__, HEX); } ///< Prints debug output.
#else
#define WS_DEBUG_PRINT(...) \
{ \
} ///< Prints debug output
{} ///< Prints debug output
#define WS_DEBUG_PRINTLN(...) \
{ \
} ///< Prints line from debug output.
{} ///< Prints line from debug output.
#endif
#define WS_DELAY_WITH_WDT(timeout) \