Zigbee fix warnings with Arduino3 (#19486)

This commit is contained in:
s-hadinger 2023-09-09 15:27:16 +02:00 committed by GitHub
parent f1bd9446d5
commit 4c6ff44e42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -35,14 +35,12 @@ typedef uint16_t Z_ShortAddress;
const uint16_t BAD_SHORTADDR = 0xFFFE; const uint16_t BAD_SHORTADDR = 0xFFFE;
#ifdef USE_ZIGBEE_ZNP #ifdef USE_ZIGBEE_ZNP
enum ZnpCommandType { enum ZnpCommandType : uint8_t {
Z_POLL = 0x00, Z_POLL = 0x00,
Z_SREQ = 0x20, Z_SREQ = 0x20,
Z_AREQ = 0x40, Z_AREQ = 0x40,
Z_SRSP = 0x60 Z_SRSP = 0x60,
};
enum ZnpSubsystem {
Z_RPC_Error = 0x00, Z_RPC_Error = 0x00,
Z_SYS = 0x01, Z_SYS = 0x01,
Z_MAC = 0x02, Z_MAC = 0x02,