espleaf/include/mqtt.h

10 lines
148 B
C
Raw Normal View History

2021-01-08 04:54:55 +00:00
#pragma once
#include "wifi.h"
#include "config.h"
#include <PubSubClient.h>
static PubSubClient mqtt(wifi);
void mqtt_setup();
void mqtt_loop();