mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-25 20:26:41 +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(mqttGetNodename());
|
||||
syslogClient->print(haspDevice.get_hostname());
|
||||
syslogClient->print(F(" "));
|
||||
debugPrintTag(tag, _logOutput);
|
||||
|
||||
@ -658,8 +658,7 @@ void debugPreSetup(JsonObject settings)
|
||||
}
|
||||
|
||||
#if LV_USE_LOG != 0
|
||||
void debugLvglLogEvent(lv_log_level_t level, const char * file, uint32_t line, const char * funcname,
|
||||
const char * descr)
|
||||
void debugLvglLogEvent(lv_log_level_t level, const char* file, uint32_t line, const char* funcname, const char* descr)
|
||||
{
|
||||
/* used for duplicate detection */
|
||||
static uint32_t lastDbgLine;
|
||||
|
Loading…
x
Reference in New Issue
Block a user