aqhome: added FLASH_READY msg.

This commit is contained in:
Martin Preuss
2023-04-19 15:39:51 +02:00
parent 20efe7d473
commit fd2c4da9ce
8 changed files with 140 additions and 17 deletions

View File

@@ -80,19 +80,19 @@ void AQH_DeviceMsg_DumpToBuffer(const GWEN_MSG *msg, GWEN_BUFFER *dbuf, const ch
modules);
if (modules) {
GWEN_Buffer_AppendString(dbuf, "[");
if (modules & AQH_MSG_DEVICE_MASK_TIMER)
if (modules & AQH_MSG_MODULES_MASK_TIMER)
GWEN_Buffer_AppendString(dbuf, " TIMER");
if (modules & AQH_MSG_DEVICE_MASK_COM)
if (modules & AQH_MSG_MODULES_MASK_COM)
GWEN_Buffer_AppendString(dbuf, " COM");
if (modules & AQH_MSG_DEVICE_MASK_LED)
if (modules & AQH_MSG_MODULES_MASK_LED)
GWEN_Buffer_AppendString(dbuf, " LED");
if (modules & AQH_MSG_DEVICE_MASK_TWIMASTER)
if (modules & AQH_MSG_MODULES_MASK_TWIMASTER)
GWEN_Buffer_AppendString(dbuf, " TWIMASTER");
if (modules & AQH_MSG_DEVICE_MASK_LCD)
if (modules & AQH_MSG_MODULES_MASK_LCD)
GWEN_Buffer_AppendString(dbuf, " LCD");
if (modules & AQH_MSG_DEVICE_MASK_SI7021)
if (modules & AQH_MSG_MODULES_MASK_SI7021)
GWEN_Buffer_AppendString(dbuf, " SI7021");
if (modules & AQH_MSG_DEVICE_MASK_STATS)
if (modules & AQH_MSG_MODULES_MASK_STATS)
GWEN_Buffer_AppendString(dbuf, " STATS");
GWEN_Buffer_AppendString(dbuf, " ]");
}