Fix typo in berry mqtt (#19477)

This commit is contained in:
s-hadinger 2023-09-07 20:44:30 +02:00 committed by GitHub
parent d9acd2adb0
commit 7726f1eef4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ class be_class_MQTT_ntv (scope: global, name: MQTT_ntv) {
// mqtt module // mqtt module
extern const bclass be_class_MQTT; 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_pushntvclass(vm, &be_class_MQTT);
be_call(vm, 0); be_call(vm, 0);
be_return(vm); be_return(vm);
@ -34,7 +34,7 @@ static int zigbee_init(bvm *vm) {
#include "be_fixed_mqtt.h" #include "be_fixed_mqtt.h"
/* @const_object_info_begin /* @const_object_info_begin
module mqtt (scope: global) { module mqtt (scope: global) {
init, func(zigbee_init) init, func(mqtt_init)
} }
@const_object_info_end */ @const_object_info_end */