Case Sensitive issue "ABmqtt"/"ABMqtt" -> "ABMQTT.h"
This commit is contained in:
parent
f5d72e2ac8
commit
194cc08ac9
|
@ -85,7 +85,7 @@
|
|||
This example code is in the public domain.
|
||||
*/
|
||||
|
||||
#include "WiFi/ABMqtt.h"
|
||||
#include "WiFi/ABMQTT.h"
|
||||
#include "cfg/BTCConfig.h"
|
||||
#include "cfg/pins.h"
|
||||
#include "RTC/Timers.h"
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include "MQTTScreen.h"
|
||||
#include "KeyPad.h"
|
||||
#include "../Utility/helpers.h"
|
||||
#include "../WiFi/ABMqtt.h"
|
||||
#include "../WiFi/ABMQTT.h"
|
||||
#include "../WiFi/BTCWifi.h"
|
||||
#include "../Utility/NVStorage.h"
|
||||
#include "fonts/Arial.h"
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include "../Bluetooth/BluetoothAbstract.h"
|
||||
#include "../WiFi/BTCWebServer.h"
|
||||
#include "../WiFi/BTCWifi.h"
|
||||
#include "../WiFi/ABmqtt.h"
|
||||
#include "../WiFi/ABMQTT.h"
|
||||
#include "../cfg/BTCConfig.h"
|
||||
#include "macros.h"
|
||||
#include "../Protocol/Protocol.h"
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "ABMqtt.h"
|
||||
#include "ABMQTT.h"
|
||||
#include "../../lib/async-mqtt-client/src/AsyncMqttClient.h"
|
||||
#include "BTCWifi.h"
|
||||
#include "BTCWebServer.h"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// ABMqtt.h
|
||||
// ABMQTT.h
|
||||
/*
|
||||
* This file is part of the "bluetoothheater" distribution
|
||||
* (https://gitlab.com/mrjones.id.au/bluetoothheater)
|
||||
|
|
|
@ -52,6 +52,8 @@ extern CScreenManager ScreenManager;
|
|||
bool initWifi(const char *failedssid, const char *failedpassword)
|
||||
{
|
||||
|
||||
WiFi.mode(WIFI_STA); // explicitly set mode, esp defaults to STA+AP
|
||||
|
||||
// report the MAC addresses - note individual values for STA and AP modes
|
||||
uint8_t MAC[6];
|
||||
esp_read_mac(MAC, ESP_MAC_WIFI_STA);
|
||||
|
|
Loading…
Reference in New Issue