few changes for RTS/CTS control
Dependencies: MTS-Serial libmDot mbed-rtos mbed
Fork of mDot_AT_firmware by
CommandTerminal/CmdSaveConfig.cpp
- Committer:
- Mike Fiore
- Date:
- 2015-06-25
- Revision:
- 1:e52ae6584f1c
File content as of revision 1:e52ae6584f1c:
#include "CmdSaveConfig.h" CmdSaveConfig::CmdSaveConfig(mDot* dot) : Command(dot, "Save Configuration", "AT&W", "Save configuration to flash memory") { _help = std::string(text()) + ": " + std::string(desc()); } uint32_t CmdSaveConfig::action(std::vector<std::string> args) { if (!_dot->saveConfig()) { setErrorMessage("Failed to save to flash"); return 1; } return 0; }