Browse Source

Clean unnecessary includes

fastled
Xose Pérez 7 years ago
parent
commit
d571a1407f
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      code/espurna/config/prototypes.h

+ 4
- 2
code/espurna/config/prototypes.h View File

@ -1,8 +1,11 @@
#include <Arduino.h> #include <Arduino.h>
#include <NtpClientLib.h>
#include <ArduinoJson.h> #include <ArduinoJson.h>
#include <functional> #include <functional>
extern "C" {
#include "user_interface.h"
}
#if WEB_SUPPORT #if WEB_SUPPORT
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
@ -36,7 +39,6 @@ void wsOnAfterParseRegister(ws_on_after_parse_callback_f callback);
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
// MQTT // MQTT
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
#include <AsyncMqttClient.h>
typedef std::function<void(unsigned int, const char *, const char *)> mqtt_callback_f; typedef std::function<void(unsigned int, const char *, const char *)> mqtt_callback_f;
void mqttRegister(mqtt_callback_f callback); void mqttRegister(mqtt_callback_f callback);
String mqttSubtopic(char * topic); String mqttSubtopic(char * topic);


Loading…
Cancel
Save