Skip to content

Commit

Permalink
rename bus to bus_status in info command
Browse files Browse the repository at this point in the history
  • Loading branch information
proddy committed Nov 22, 2021
1 parent bb38458 commit 1c6a683
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1018,14 +1018,14 @@ bool System::command_info(const char * value, const int8_t id, JsonObject & outp

switch (EMSESP::bus_status()) {
case EMSESP::BUS_STATUS_OFFLINE:
node["bus"] = (F("disconnected"));
node["bus status"] = (F("disconnected"));
break;
case EMSESP::BUS_STATUS_TX_ERRORS:
node["bus"] = (F("connected, instable tx"));
node["bus status"] = (F("connected, instable tx"));
break;
case EMSESP::BUS_STATUS_CONNECTED:
default:
node["bus"] = (F("connected"));
node["bus status"] = (F("connected"));
break;
}

Expand Down

0 comments on commit 1c6a683

Please sign in to comment.