From 9b4eb64caad03c44f4229ef2676e2c091eee158a Mon Sep 17 00:00:00 2001 From: Bartosz Nitka Date: Thu, 13 Mar 2025 17:22:21 +0100 Subject: [PATCH] Fix unused ret_code2 in xdrv_52_9_berry (#23146) --- tasmota/tasmota_xdrv_driver/xdrv_52_9_berry.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_52_9_berry.ino b/tasmota/tasmota_xdrv_driver/xdrv_52_9_berry.ino index 63c69cdcc..7bc2682d3 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_52_9_berry.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_52_9_berry.ino @@ -382,7 +382,7 @@ void BerryInit(void) { } // AddLog(LOG_LEVEL_DEBUG, PSTR(D_LOG_BERRY "Berry code loaded, RAM used=%u"), be_gc_memcount(berry.vm)); ret_code2 = be_pcall(berry.vm, 0); - if (ret_code1 != 0) { + if (ret_code2 != 0) { be_error_pop_all(berry.vm); // clear Berry stack break; }