From c7a5cd58f42fed56f0c1493e7cc5b1946f97c6c4 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Fri, 10 May 2024 10:18:46 +0200 Subject: [PATCH] Fix a compile error --- tasmota/tasmota_xdrv_driver/xdrv_57_9_tasmesh.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_57_9_tasmesh.ino b/tasmota/tasmota_xdrv_driver/xdrv_57_9_tasmesh.ino index 262355e13..8f1e7fe6f 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_57_9_tasmesh.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_57_9_tasmesh.ino @@ -562,8 +562,10 @@ void MESHevery50MSecond(void) { // AddLog(LOG_LEVEL_INFO, PSTR("MSH: %*_H), MESH.packetToConsume.front().chunkSize, (uint8_t *)&MESH.packetToConsume.front().payload); } break; +#ifdef USE_TASMESH_HEARTBEAT case PACKET_TYPE_HEARTBEAT: break; +#endif // USE_TASMESH_HEARTBEAT default: AddLogBuffer(LOG_LEVEL_DEBUG, (uint8_t *)&MESH.packetToConsume.front(), MESH.packetToConsume.front().chunkSize +5);