Browse Source

emon: fix missing terminal output for energy

pull/2534/head
Maxim Prokhorov 1 year ago
parent
commit
deffe551ed
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/sensor.cpp

+ 1
- 1
code/espurna/sensor.cpp View File

@ -3573,7 +3573,7 @@ void setup() {
if (ctx.argv.size() == 2) {
ctx.output.printf_P(PSTR("%s => %s (%s)\n"),
magnitude::topicWithIndex(*magnitude).c_str(),
magnitude::format(*magnitude, magnitude->last).c_str(),
magnitude::format(*magnitude, magnitude->reported).c_str(),
magnitude::units(*magnitude).c_str());
terminalOK(ctx);
return;


Loading…
Cancel
Save