Added MY_CORE_ONLY flag to MySensors.h

This commit is contained in:
tekka007
2016-01-11 21:27:40 +01:00
parent 866e7cf08b
commit 7749060ee7
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -42,6 +42,9 @@
// Enable this in sketch if you want to use TX(1), RX(0) as normal I/O pin
//#define MY_DISABLED_SERIAL
// Enable MY_CORE_ONLY flag if you want to use core functions without loading the framework
//#define MY_CORE_ONLY
// Turn off debug if serial pins is used for other stuff
#ifdef MY_DISABLED_SERIAL
#undef MY_DEBUG
+2 -2
View File
@@ -31,6 +31,7 @@ smartSleep KEYWORD2
#######################################
AUTO LITERAL1
MY_DEBUG LITERAL1
MY_CORE_ONLY LITERAL1
MY_REPEATER_FEATURE LITERAL1
MY_RADIO_NRF24 LITERAL1
MY_RADIO_RFM69 LITERAL1
@@ -109,5 +110,4 @@ MY_GATEWAY_MQTT_CLIENT LITERAL1
MY_DISABLE_REMOTE_RESET LITERAL1
MY_RS485_DE_PIN LITERAL1
MY_SIGNING_REQUEST_SIGNATURES LITERAL1
MY_SMART_SLEEP_WAIT_DURATION LITERAL1
MY_CORE_ONLY LITERAL1
MY_SMART_SLEEP_WAIT_DURATION LITERAL1