mirror of
https://github.com/anklimov/lighthub
synced 2025-12-07 04:09:49 +03:00
PrintEx
This commit is contained in:
@@ -1125,12 +1125,12 @@ void setup_main() {
|
|||||||
void printFirmwareVersionAndBuildOptions() {
|
void printFirmwareVersionAndBuildOptions() {
|
||||||
debugSerial<<F("\nLazyhome.ru LightHub controller ")<<F(QUOTE(PIO_SRC_REV))<<F("C++ version:")<<F(QUOTE(__cplusplus));
|
debugSerial<<F("\nLazyhome.ru LightHub controller ")<<F(QUOTE(PIO_SRC_REV))<<F("C++ version:")<<F(QUOTE(__cplusplus));
|
||||||
#ifdef CONTROLLINO
|
#ifdef CONTROLLINO
|
||||||
debugSerial<<F("\n(+)CONTROLLINO"));
|
debugSerial<<F("\n(+)CONTROLLINO");
|
||||||
#endif
|
#endif
|
||||||
#ifdef WATCH_DOG_TICKER_DISABLE
|
#ifdef WATCH_DOG_TICKER_DISABLE
|
||||||
debugSerial<<F("\n(-)WATCHDOG");
|
debugSerial<<F("\n(-)WATCHDOG");
|
||||||
#else
|
#else
|
||||||
debugSerial<<F("\n(+)WATCHDOG"));
|
debugSerial<<F("\n(+)WATCHDOG");
|
||||||
#endif
|
#endif
|
||||||
debugSerial<<F("\nConfig server:")<<F(CONFIG_SERVER)<<F("\nFirmware MAC Address ")<<F(QUOTE(CUSTOM_FIRMWARE_MAC));
|
debugSerial<<F("\nConfig server:")<<F(CONFIG_SERVER)<<F("\nFirmware MAC Address ")<<F(QUOTE(CUSTOM_FIRMWARE_MAC));
|
||||||
#ifdef DISABLE_FREERAM_PRINT
|
#ifdef DISABLE_FREERAM_PRINT
|
||||||
@@ -1163,7 +1163,7 @@ void printFirmwareVersionAndBuildOptions() {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef OWIRE_DISABLE
|
#ifdef OWIRE_DISABLE
|
||||||
debugSerial<<F("\n(-)OWIRE"));
|
debugSerial<<F("\n(-)OWIRE");
|
||||||
#else
|
#else
|
||||||
debugSerial<<F("\n(+)OWIRE");
|
debugSerial<<F("\n(+)OWIRE");
|
||||||
#endif
|
#endif
|
||||||
@@ -1179,7 +1179,7 @@ void printFirmwareVersionAndBuildOptions() {
|
|||||||
|
|
||||||
#ifdef RESET_PIN
|
#ifdef RESET_PIN
|
||||||
debugSerial<<F("\n(+)HARDRESET on pin=");
|
debugSerial<<F("\n(+)HARDRESET on pin=");
|
||||||
debugSerial<<F(QUOTE(RESET_PIN));
|
debugSerial<<F(QUOTE(RESET_PIN);
|
||||||
#else
|
#else
|
||||||
debugSerial<<F("\n(-)HARDRESET, using soft");
|
debugSerial<<F("\n(-)HARDRESET, using soft");
|
||||||
#endif
|
#endif
|
||||||
@@ -1438,8 +1438,6 @@ short thermoSetCurTemp(char *name, short t) {
|
|||||||
if (att->valueint == 0) mqttClient.publish("/alarmoff/snsr", thermoItem->name);
|
if (att->valueint == 0) mqttClient.publish("/alarmoff/snsr", thermoItem->name);
|
||||||
att->valueint = (int) T_ATTEMPTS;
|
att->valueint = (int) T_ATTEMPTS;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user