* CommonCLI: added "clear stats" command

这个提交包含在:
Scott Powell
2025-05-13 18:12:58 +10:00
父节点 177dd90ca1
当前提交 805ca7b900
修改 9 个文件,包含 29 行新增2 行删除
+7 -1
查看文件
@@ -821,7 +821,13 @@ public:
strcpy(reply, "not supported");
}
const uint8_t* getSelfIdPubKey() { return self_id.pub_key; }
const uint8_t* getSelfIdPubKey() override { return self_id.pub_key; }
void clearStats() override {
radio_driver.resetStats();
resetStats();
((SimpleMeshTables *)getTables())->resetStats();
}
void loop() {
mesh::Mesh::loop();