Skip to content

Commit 98f045e

Browse files
committed
Addres @tyeth's review
1 parent 80a6cdc commit 98f045e

File tree

2 files changed

+8
-21
lines changed

2 files changed

+8
-21
lines changed

platformio.ini

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ lib_deps =
9090
https://github.com/tyeth/omron-devhub_d6t-arduino.git
9191
https://github.com/pstolarz/OneWireNg.git
9292
; COMMENT OUT FOR RP2040/RP2350 BOARDS
93-
; https://github.com/milesburton/Arduino-Temperature-Control-Library.git
93+
https://github.com/milesburton/Arduino-Temperature-Control-Library.git
9494
; AND UNCOMMENT FOR RP2040/RP2350 BOARDS
95-
https://github.com/pstolarz/Arduino-Temperature-Control-Library.git
95+
; https://github.com/pstolarz/Arduino-Temperature-Control-Library.git
9696
https://github.com/Sensirion/arduino-sht.git
9797
https://github.com/Sensirion/arduino-i2c-scd4x.git
9898
https://github.com/Sensirion/arduino-i2c-sen5x.git
@@ -135,6 +135,7 @@ platform = https://github.com/maxgerhardt/platform-raspberrypi.git#develop
135135
platform_packages = framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git
136136
framework = arduino
137137
board_build.core = earlephilhower
138+
board_build.filesystem_size = 0.5m
138139
lib_ignore = WiFiNINA, WiFi101, Adafruit Zero DMA Library, OneWire
139140
lib_compat_mode = soft ; can be stricter once pio detects SleepyDog on RP2040
140141

@@ -654,12 +655,6 @@ build_flags =
654655
; -DPIO_FRAMEWORK_ARDUINO_ENABLE_IPV6
655656

656657
[env:adafruit_fruitjam]
657-
platform = https://github.com/maxgerhardt/platform-raspberrypi.git#develop
658-
platform_packages = framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git
659658
board = adafruit_fruitjam
660-
framework = arduino
661-
board_build.core = earlephilhower
662-
board_build.filesystem_size = 0.5m
663659
lib_ignore = WiFi, WiFi101, Adafruit Zero DMA Library
664-
lib_compat_mode = soft
665660
build_flags = -DUSE_TINYUSB -DADAFRUIT_FRUITJAM_RP2350

src/Wippersnapper.h

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,24 +47,16 @@
4747
// Define actual debug output functions when necessary.
4848
#ifdef WS_DEBUG
4949
#define WS_DEBUG_PRINT(...) \
50-
{ \
51-
WS_PRINTER.print(__VA_ARGS__); \
52-
} ///< Prints debug output.
50+
{ WS_PRINTER.print(__VA_ARGS__); } ///< Prints debug output.
5351
#define WS_DEBUG_PRINTLN(...) \
54-
{ \
55-
WS_PRINTER.println(__VA_ARGS__); \
56-
} ///< Prints line from debug output.
52+
{ WS_PRINTER.println(__VA_ARGS__); } ///< Prints line from debug output.
5753
#define WS_DEBUG_PRINTHEX(...) \
58-
{ \
59-
WS_PRINTER.print(__VA_ARGS__, HEX); \
60-
} ///< Prints debug output.
54+
{ WS_PRINTER.print(__VA_ARGS__, HEX); } ///< Prints debug output.
6155
#else
6256
#define WS_DEBUG_PRINT(...) \
63-
{ \
64-
} ///< Prints debug output
57+
{} ///< Prints debug output
6558
#define WS_DEBUG_PRINTLN(...) \
66-
{ \
67-
} ///< Prints line from debug output.
59+
{} ///< Prints line from debug output.
6860
#endif
6961

7062
#define WS_DELAY_WITH_WDT(timeout) \

0 commit comments

Comments
 (0)