From 1ea2c2e08da5eed6d2fdac5d803a23f71c0f3db9 Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Mon, 22 Nov 2021 19:38:52 +0100 Subject: [PATCH] Berry fix warning in `tasmota.read_sensors()` --- tasmota/xdrv_52_3_berry_tasmota.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/tasmota/xdrv_52_3_berry_tasmota.ino b/tasmota/xdrv_52_3_berry_tasmota.ino index 438bd69c1..667a8f7b2 100644 --- a/tasmota/xdrv_52_3_berry_tasmota.ino +++ b/tasmota/xdrv_52_3_berry_tasmota.ino @@ -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