firm newest
Dependencies: MTS-Serial libmDot-dev-mbed5-deprecated
CommandTerminal/CmdDummy.cpp
- Committer:
- nguyenhoang9x5555
- Date:
- 2018-10-18
- Revision:
- 0:3c869a8cb8f8
File content as of revision 0:3c869a8cb8f8:
#include "CmdDummy.h" CmdDummy::CmdDummy(const char* name, const char* txt, const char* dsc, const char* usage) : Command(name, txt, dsc, usage) { } uint32_t CmdDummy::action(std::vector<std::string> args) { return 0; } bool CmdDummy::verify(std::vector<std::string> args) { if (args.size() > 1) { CommandTerminal::setErrorMessage("Invalid Arguments"); return false; } return true; }