Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

Build error when MGOS_ENABLE_MQTT: 0

When MGOS_ENABLE_MQTT is set to 0 in the mos.yml / build_vars the following error occurs:

/mongoose-os/fw/src/mgos_debug.c: In function 'mgos_debug_write':
/mongoose-os/fw/src/mgos_debug.c:69:9: error: implicit declaration of function 'mgos_mqtt_num_unsent_bytes' [-Werror=implicit-function-declaration]
     if (mgos_mqtt_num_unsent_bytes() < MGOS_MQTT_LOG_PUSHBACK_THRESHOLD) {

Comments

Sign In or Register to comment.