with 36errors
Dependencies: MTS-Serial libxDot-dev-mbed5-deprecated
Fork of Dot-AT-Firmware by
CmdSaveConfig.cpp
00001 #include "CmdSaveConfig.h" 00002 00003 CmdSaveConfig::CmdSaveConfig() : Command("Save Configuration", "AT&W", "Save configuration to flash memory", "NONE") 00004 { 00005 } 00006 00007 00008 uint32_t CmdSaveConfig::action(std::vector<std::string> args) 00009 { 00010 if (!CommandTerminal::Dot()->saveConfig()) { 00011 CommandTerminal::setErrorMessage("Failed to save to flash"); 00012 return 1; 00013 } 00014 00015 return 0; 00016 }
Generated on Wed Jul 13 2022 06:20:58 by
1.7.2
