diff --git a/CHANGELOG.md b/CHANGELOG.md index dd615b6e4..07cc813ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ All notable changes to this project will be documented in this file. ### Fixed - Berry fixed 'be_top is non zero' warning when calling C mapped functions +- Berry fixed 'be_top is non zero' when `Br` command fails ### Removed diff --git a/tasmota/tasmota_xdrv_driver/xdrv_52_9_berry.ino b/tasmota/tasmota_xdrv_driver/xdrv_52_9_berry.ino index 7fb5a0b1c..38ed4e65b 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_52_9_berry.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_52_9_berry.ino @@ -523,7 +523,7 @@ void CmndBrRun(void) { be_pop(berry.vm, 1); } else { Response_P(PSTR("{\"" D_PRFX_BR "\":\"[%s] %s\"}"), EscapeJSONString(be_tostring(berry.vm, -2)).c_str(), EscapeJSONString(be_tostring(berry.vm, -1)).c_str()); - be_pop(berry.vm, 2); + be_pop(berry.vm, 3); } checkBeTop();