Browse Source

Clean unnecessary includes

fastled
Xose Pérez 6 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 <NtpClientLib.h>
#include <ArduinoJson.h>
#include <functional>
extern "C" {
#include "user_interface.h"
}
#if WEB_SUPPORT
// -----------------------------------------------------------------------------
@ -36,7 +39,6 @@ void wsOnAfterParseRegister(ws_on_after_parse_callback_f callback);
// -----------------------------------------------------------------------------
// MQTT
// -----------------------------------------------------------------------------
#include <AsyncMqttClient.h>
typedef std::function<void(unsigned int, const char *, const char *)> mqtt_callback_f;
void mqttRegister(mqtt_callback_f callback);
String mqttSubtopic(char * topic);


Loading…
Cancel
Save