Case Sensitive issue "ABmqtt"/"ABMqtt" -> "ABMQTT.h"

This commit is contained in:
Ray Jones 2020-01-05 08:46:46 +11:00
parent f5d72e2ac8
commit 194cc08ac9
6 changed files with 7 additions and 5 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -1,4 +1,4 @@
// ABMqtt.h
// ABMQTT.h
/*
* This file is part of the "bluetoothheater" distribution
* (https://gitlab.com/mrjones.id.au/bluetoothheater)

View File

@ -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);