mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-28 07:02:17 +03:00
Исключаем поддержку параллельного подключения LCD2004 и наводим порядок с библиотеками.
This commit is contained in:
@@ -24,6 +24,10 @@
|
||||
#include "items/vSensorUltrasonic.h"
|
||||
#include "items/vSensorUptime.h"
|
||||
|
||||
#ifdef EnableSensorLCD2004
|
||||
extern LiquidCrystal_I2C *LCDI2C;
|
||||
#endif
|
||||
|
||||
void loadConfig() {
|
||||
configSetupJson = readFile("config.json", 4096);
|
||||
configSetupJson.replace("\r\n", "");
|
||||
@@ -172,7 +176,9 @@ void clearVectors() {
|
||||
#endif
|
||||
#ifdef EnableSensorLCD2004
|
||||
if (mySensorLCD20042 != nullptr) {
|
||||
if(LCDI2C != nullptr) LCDI2C->clear();
|
||||
mySensorLCD20042->clear();
|
||||
|
||||
}
|
||||
#endif
|
||||
#ifdef EnableSensorUltrasonic
|
||||
|
||||
Reference in New Issue
Block a user