mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +00:00
Berry fix warning in tasmota.read_sensors()
This commit is contained in:
parent
0f18553237
commit
1ea2c2e08d
@ -555,6 +555,7 @@ extern "C" {
|
||||
if (top >= 2) {
|
||||
sensor_display = be_tobool(vm, 2);
|
||||
}
|
||||
be_pop(vm, top); // clear stack to avoid `Error be_top is non zero=1` errors
|
||||
ResponseClear();
|
||||
if (MqttShowSensor(sensor_display)) {
|
||||
// return string
|
||||
|
Loading…
x
Reference in New Issue
Block a user