Multitech xDot AT Firmware
Dependencies: MTS-Serial libxDot-mbed5
CommandTerminal/CmdResetStats.cpp@18:72b6b49d363d, 2019-01-16 (annotated)
- Committer:
- jreiss
- Date:
- Wed Jan 16 14:20:49 2019 +0000
- Revision:
- 18:72b6b49d363d
- Parent:
- 14:f9a77400b622
Update libxDot to latest and mbed-os to 5.7.7; Update PacketRx for new library
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Mike Fiore |
4:666017851052 | 1 | #include "CmdResetStats.h" |
Mike Fiore |
4:666017851052 | 2 | |
Mike Fiore |
14:f9a77400b622 | 3 | CmdResetStats::CmdResetStats() |
Mike Fiore |
4:666017851052 | 4 | : |
Mike Fiore |
14:f9a77400b622 | 5 | Command("Reset Stats", "AT&R", "Reset statistics", "NONE") { |
Mike Fiore |
4:666017851052 | 6 | } |
Mike Fiore |
4:666017851052 | 7 | |
Mike Fiore |
4:666017851052 | 8 | uint32_t CmdResetStats::action(std::vector<std::string> args) { |
Mike Fiore |
4:666017851052 | 9 | |
Mike Fiore |
14:f9a77400b622 | 10 | CommandTerminal::Dot()->resetStats(); |
Mike Fiore |
4:666017851052 | 11 | return 0; |
Mike Fiore |
4:666017851052 | 12 | } |
Mike Fiore |
4:666017851052 | 13 |