diff --git a/aqhome/msg/msg_flashend.c b/aqhome/msg/msg_flashend.c index 4184f44..b2e228e 100644 --- a/aqhome/msg/msg_flashend.c +++ b/aqhome/msg/msg_flashend.c @@ -58,8 +58,7 @@ uint8_t AQH_FlashEndMsg_GetReason(const GWEN_MSG *msg) void AQH_FlashEndMsg_DumpToBuffer(const GWEN_MSG *msg, GWEN_BUFFER *dbuf, const char *sText) { - if ((AQH_NodeMsg_GetMsgType(msg)==AQH_MSG_TYPE_FLASH_READY) && - (GWEN_Msg_GetBytesInBuffer(msg)>=AQH_MSG_FLASHEND_MINSIZE)) { + if (GWEN_Msg_GetBytesInBuffer(msg)>=AQH_MSG_FLASHEND_MINSIZE) { GWEN_Buffer_AppendArgs(dbuf, "0x%02x->0x%02x: FLASHEND %s (reason=%d)\n", AQH_NodeMsg_GetSourceAddress(msg), AQH_NodeMsg_GetDestAddress(msg),