mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-26 04:36:38 +00:00
Use haspDevice for hostname
This commit is contained in:
parent
7857ea03ed
commit
06cba2ea8e
@ -562,7 +562,7 @@ void debugPrintPrefix(uint8_t tag, int level, Print * _logOutput)
|
|||||||
syslogClient->print(F("1 - "));
|
syslogClient->print(F("1 - "));
|
||||||
}
|
}
|
||||||
|
|
||||||
syslogClient->print(mqttGetNodename());
|
syslogClient->print(haspDevice.get_hostname());
|
||||||
syslogClient->print(F(" "));
|
syslogClient->print(F(" "));
|
||||||
debugPrintTag(tag, _logOutput);
|
debugPrintTag(tag, _logOutput);
|
||||||
|
|
||||||
@ -658,8 +658,7 @@ void debugPreSetup(JsonObject settings)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if LV_USE_LOG != 0
|
#if LV_USE_LOG != 0
|
||||||
void debugLvglLogEvent(lv_log_level_t level, const char * file, uint32_t line, const char * funcname,
|
void debugLvglLogEvent(lv_log_level_t level, const char* file, uint32_t line, const char* funcname, const char* descr)
|
||||||
const char * descr)
|
|
||||||
{
|
{
|
||||||
/* used for duplicate detection */
|
/* used for duplicate detection */
|
||||||
static uint32_t lastDbgLine;
|
static uint32_t lastDbgLine;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user