From 7726f1eef430d7c64159ae14d058c0f1781b33e9 Mon Sep 17 00:00:00 2001 From: s-hadinger <49731213+s-hadinger@users.noreply.github.com> Date: Thu, 7 Sep 2023 20:44:30 +0200 Subject: [PATCH] Fix typo in berry mqtt (#19477) --- lib/libesp32/berry_tasmota/src/be_mqtt_lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libesp32/berry_tasmota/src/be_mqtt_lib.c b/lib/libesp32/berry_tasmota/src/be_mqtt_lib.c index c0237fc07..b356dc619 100644 --- a/lib/libesp32/berry_tasmota/src/be_mqtt_lib.c +++ b/lib/libesp32/berry_tasmota/src/be_mqtt_lib.c @@ -25,7 +25,7 @@ class be_class_MQTT_ntv (scope: global, name: MQTT_ntv) { // mqtt module extern const bclass be_class_MQTT; -static int zigbee_init(bvm *vm) { +static int mqtt_init(bvm *vm) { be_pushntvclass(vm, &be_class_MQTT); be_call(vm, 0); be_return(vm); @@ -34,7 +34,7 @@ static int zigbee_init(bvm *vm) { #include "be_fixed_mqtt.h" /* @const_object_info_begin module mqtt (scope: global) { - init, func(zigbee_init) + init, func(mqtt_init) } @const_object_info_end */