Skip to content

Commit

Permalink
Added 'rflink_disable' setting
Browse files Browse the repository at this point in the history
  • Loading branch information
ropg committed Feb 15, 2024
1 parent 180f947 commit d382d58
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/serial_output.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@
}

#define RFLINK(...) \
Serial.printf("20;%02X;", rflink_seq_nr++);\
Serial.printf(__VA_ARGS__);
if (!Settings::isSet("rflink_disable")) {\
Serial.printf("20;%02X;", rflink_seq_nr++);\
Serial.printf(__VA_ARGS__);\
}

extern uint8_t rflink_seq_nr;

Expand Down

0 comments on commit d382d58

Please sign in to comment.