From 4c6ff44e420de991bcb12d093c85e20e25552125 Mon Sep 17 00:00:00 2001 From: s-hadinger <49731213+s-hadinger@users.noreply.github.com> Date: Sat, 9 Sep 2023 15:27:16 +0200 Subject: [PATCH] Zigbee fix warnings with Arduino3 (#19486) --- tasmota/tasmota_xdrv_driver/xdrv_23_zigbee_0_constants.ino | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_23_zigbee_0_constants.ino b/tasmota/tasmota_xdrv_driver/xdrv_23_zigbee_0_constants.ino index 85090cfda..d7d090272 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_23_zigbee_0_constants.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_23_zigbee_0_constants.ino @@ -35,14 +35,12 @@ typedef uint16_t Z_ShortAddress; const uint16_t BAD_SHORTADDR = 0xFFFE; #ifdef USE_ZIGBEE_ZNP -enum ZnpCommandType { +enum ZnpCommandType : uint8_t { Z_POLL = 0x00, Z_SREQ = 0x20, Z_AREQ = 0x40, - Z_SRSP = 0x60 -}; + Z_SRSP = 0x60, -enum ZnpSubsystem { Z_RPC_Error = 0x00, Z_SYS = 0x01, Z_MAC = 0x02,