#pragma once #include "mqtt_client.h" #ifdef __cplusplus extern "C" { #endif extern esp_mqtt_client_handle_t mqtt_client; // ✅ agora visível em outros .c static inline void mqtt_handler_loop(void) { // placeholder — sem função neste build } void mqtt_handler_start(void); #ifdef __cplusplus } #endif