diff options
author | Mike Fiore <mfiore@multitech.com> | 2016-01-08 09:27:22 -0600 |
---|---|---|
committer | Mike Fiore <mfiore@multitech.com> | 2016-01-08 09:27:22 -0600 |
commit | adc3d703dd1945b2b06c80dd7252cb4e9cc4f485 (patch) | |
tree | 88f5d84f6a28ef32f3fee978f67510b1161d10c4 /Mode | |
parent | 746bf896ba44a97c904ed9d9f450a54898705e78 (diff) | |
download | mtdot-box-evb-factory-firmware-adc3d703dd1945b2b06c80dd7252cb4e9cc4f485.tar.gz mtdot-box-evb-factory-firmware-adc3d703dd1945b2b06c80dd7252cb4e9cc4f485.tar.bz2 mtdot-box-evb-factory-firmware-adc3d703dd1945b2b06c80dd7252cb4e9cc4f485.zip |
allow changes to protected config if built with debug macros MTS_RADIO_DEBUG_COMMANDS and DEBUG_MAC
Diffstat (limited to 'Mode')
-rw-r--r-- | Mode/ModeConfig.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Mode/ModeConfig.cpp b/Mode/ModeConfig.cpp index 6fbeae0..8f869bf 100644 --- a/Mode/ModeConfig.cpp +++ b/Mode/ModeConfig.cpp @@ -54,6 +54,10 @@ ModeConfig::ModeConfig(DOGS102* lcd, ButtonHandler* buttons, mDot* dot, LoRaHand addCommand(new CmdGetSurveyDataFile(_dot, _serial)); addCommand(new CmdDeleteSurveyDataFile(_dot, _serial)); addCommand(new CmdDummy(_dot, "Exit to main menu", "AT+EXIT", "Exit configuration and return to the main menu")); + +#if MTS_RADIO_DEBUG_COMMANDS + addCommand(new CmdWriteProtectedConfig(_dot)); +#endif } void ModeConfig::printHelp() { |