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…
Reference in New Issue
Block a user