mirror of
https://github.com/schinken/esp8266-geigercounter.git
synced 2024-11-22 00:20:20 +01:00
Fix ArduinoOTA
This commit is contained in:
parent
170ebe13af
commit
387657901d
1 changed files with 1 additions and 2 deletions
|
@ -1,13 +1,12 @@
|
||||||
#include <ESP8266WiFi.h>
|
#include <ESP8266WiFi.h>
|
||||||
#include <PubSubClient.h>
|
#include <PubSubClient.h>
|
||||||
#include <SoftwareSerial.h>
|
#include <SoftwareSerial.h>
|
||||||
|
#include "settings.h"
|
||||||
|
|
||||||
#ifdef OTA_PASSWORD
|
#ifdef OTA_PASSWORD
|
||||||
#include <ArduinoOTA.h>
|
#include <ArduinoOTA.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "settings.h"
|
|
||||||
|
|
||||||
WiFiClient wifiClient;
|
WiFiClient wifiClient;
|
||||||
PubSubClient mqttClient;
|
PubSubClient mqttClient;
|
||||||
SoftwareSerial geigerCounterSerial(PIN_UART_RX, PIN_UART_TX);
|
SoftwareSerial geigerCounterSerial(PIN_UART_RX, PIN_UART_TX);
|
||||||
|
|
Loading…
Reference in a new issue