mDot AT-Firmware for testing
Dependencies: MTS-Serial libmDot-mbed5
Fork of Dot-AT-Firmware by
CommandTerminal/CmdResetStats.cpp@14:f9a77400b622, 2016-11-04 (annotated)
- Committer:
- Mike Fiore
- Date:
- Fri Nov 04 14:25:43 2016 -0500
- Revision:
- 14:f9a77400b622
- Parent:
- 4:666017851052
update from git revision 2.0.16
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 |