Skip to content

Commit 7b463a0

Browse files
committed
[Feature] Add extra documentation to easily disable debug logging directly
1 parent ff7ea84 commit 7b463a0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/SparkFun_SCD4x_Arduino_Library.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828

2929
// #define USE_TEENSY3_I2C_LIB
3030

31+
// Uncomment the next #define to EXclude any debug logging from the code, by default debug logging code will be included
32+
33+
// #define SCD4x_ENABLE_DEBUGLOG 0 // OFF/disabled/excluded on demand
34+
3135
#include "Arduino.h"
3236
#ifdef USE_TEENSY3_I2C_LIB
3337
#include <i2c_t3.h>

0 commit comments

Comments
 (0)