mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Remove unused statistics formatting methods and associated header includes from MyMesh class. Whoops.
This commit is contained in:
parent
80d6dd4367
commit
39f83efbfe
2 changed files with 0 additions and 20 deletions
|
|
@ -1612,20 +1612,6 @@ void MyMesh::enterCLIRescue() {
|
|||
Serial.println("========= CLI Rescue =========");
|
||||
}
|
||||
|
||||
void MyMesh::formatStatsReply(char *reply) {
|
||||
// Use StatsFormatHelper
|
||||
StatsFormatHelper::formatCoreStats(reply, board, *_ms, _err_flags, _mgr);
|
||||
}
|
||||
|
||||
void MyMesh::formatRadioStatsReply(char *reply) {
|
||||
StatsFormatHelper::formatRadioStats(reply, _radio, radio_driver, getTotalAirTime(), getReceiveAirTime());
|
||||
}
|
||||
|
||||
void MyMesh::formatPacketStatsReply(char *reply) {
|
||||
StatsFormatHelper::formatPacketStats(reply, radio_driver, getNumSentFlood(), getNumSentDirect(),
|
||||
getNumRecvFlood(), getNumRecvDirect());
|
||||
}
|
||||
|
||||
void MyMesh::checkCLIRescueCmd() {
|
||||
int len = strlen(cli_command);
|
||||
while (Serial.available() && len < sizeof(cli_command)-1) {
|
||||
|
|
|
|||
|
|
@ -69,7 +69,6 @@
|
|||
|
||||
#include <helpers/BaseChatMesh.h>
|
||||
#include <helpers/TransportKeyStore.h>
|
||||
#include <helpers/StatsFormatHelper.h>
|
||||
|
||||
/* -------------------------------------------------------------------------------------- */
|
||||
|
||||
|
|
@ -171,11 +170,6 @@ private:
|
|||
void checkCLIRescueCmd();
|
||||
void checkSerialInterface();
|
||||
|
||||
// Stats methods
|
||||
void formatStatsReply(char *reply);
|
||||
void formatRadioStatsReply(char *reply);
|
||||
void formatPacketStatsReply(char *reply);
|
||||
|
||||
// helpers, short-cuts
|
||||
void savePrefs() { _store->savePrefs(_prefs, sensors.node_lat, sensors.node_lon); }
|
||||
void saveChannels() { _store->saveChannels(this); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue