Browse Source

lights: terminal output specific values

mcspr-patch-1
Maxim Prokhorov 3 years ago
parent
commit
ec5311c850
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      code/espurna/light.cpp

+ 2
- 2
code/espurna/light.cpp View File

@ -1629,7 +1629,7 @@ void _lightInitCommands() {
_lightAdjustKelvin(ctx.argv[1].c_str());
lightUpdate();
}
ctx.output.printf("%s\n", lightColor().c_str());
ctx.output.printf("%ld\n", _toKelvin(_light_mireds));
terminalOK(ctx);
});
@ -1638,7 +1638,7 @@ void _lightInitCommands() {
_lightAdjustMireds(ctx.argv[1]);
lightUpdate();
}
ctx.output.printf("%s\n", lightColor().c_str());
ctx.output.printf("%ld\n", _light_mireds);
terminalOK(ctx);
});


Loading…
Cancel
Save