[SYS] Reduce Logs flash footprint (#2232)
By building only the log level required into LOG_LEVEL Co-authored-by: Florian <1technophile@users.noreply.github.com>
This commit is contained in:
1 parent
6e6b54b05e
commit
32174e37a5
52 files changed
+1187
-1136
No files matched your search
@@ -33,7 +33,7 @@
|
||||
# include "config_HCSR501.h"
|
||||
|
||||
void setupHCSR501() {
|
||||
Log.notice(F("HCSR501 pin: %d" CR), HCSR501_GPIO);
|
||||
THEENGS_LOG_NOTICE(F("HCSR501 pin: %d" CR), HCSR501_GPIO);
|
||||
pinMode(HCSR501_GPIO, INPUT); // declare HC SR-501 GPIO as input
|
||||
# ifdef HCSR501_LED_NOTIFY_GPIO
|
||||
pinMode(HCSR501_LED_NOTIFY_GPIO, OUTPUT);
|
||||
|
||||
Reference in new issue
Block a user