Berry fix warning in tasmota.read_sensors()

This commit is contained in:
Stephan Hadinger 2021-11-22 19:38:52 +01:00
parent 0f18553237
commit 1ea2c2e08d

View File

@ -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