Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MTS-Serial libmDot mbed-rtos mbed
Fork of mDot_USB_AT_firmware by
CmdResetStats.cpp
00001 #include "CmdResetStats.h" 00002 00003 CmdResetStats::CmdResetStats(mDot* dot, mts::MTSSerial& serial) 00004 : 00005 Command(dot, "Reset Stats", "AT&R", "Reset statistics"), 00006 _serial(serial), _dot(dot) { 00007 _help = std::string(text()) + ": " + std::string(desc()); 00008 } 00009 00010 uint32_t CmdResetStats::action(std::vector<std::string> args) { 00011 00012 _dot->resetStats(); 00013 00014 return 0; 00015 } 00016
Generated on Tue Jul 12 2022 20:37:29 by
1.7.2
