Skip to content

Commit 7749060

Browse files
committed
Added MY_CORE_ONLY flag to MySensors.h
1 parent 866e7cf commit 7749060

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

libraries/MySensors/MyConfig.h

+3
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
// Enable this in sketch if you want to use TX(1), RX(0) as normal I/O pin
4343
//#define MY_DISABLED_SERIAL
4444

45+
// Enable MY_CORE_ONLY flag if you want to use core functions without loading the framework
46+
//#define MY_CORE_ONLY
47+
4548
// Turn off debug if serial pins is used for other stuff
4649
#ifdef MY_DISABLED_SERIAL
4750
#undef MY_DEBUG

libraries/MySensors/keywords.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ smartSleep KEYWORD2
3131
#######################################
3232
AUTO LITERAL1
3333
MY_DEBUG LITERAL1
34+
MY_CORE_ONLY LITERAL1
3435
MY_REPEATER_FEATURE LITERAL1
3536
MY_RADIO_NRF24 LITERAL1
3637
MY_RADIO_RFM69 LITERAL1
@@ -109,5 +110,4 @@ MY_GATEWAY_MQTT_CLIENT LITERAL1
109110
MY_DISABLE_REMOTE_RESET LITERAL1
110111
MY_RS485_DE_PIN LITERAL1
111112
MY_SIGNING_REQUEST_SIGNATURES LITERAL1
112-
MY_SMART_SLEEP_WAIT_DURATION LITERAL1
113-
MY_CORE_ONLY LITERAL1
113+
MY_SMART_SLEEP_WAIT_DURATION LITERAL1

0 commit comments

Comments
 (0)