Merge pull request #5307 from ChuckMash/main

fix button byte comment
This commit is contained in:
Damian Schneider 2026-01-22 08:41:07 +01:00 committed by GitHub
commit 99c3f68f80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,7 +27,7 @@
typedef struct WizMoteMessageStructure { typedef struct WizMoteMessageStructure {
uint8_t program; // 0x91 for ON button, 0x81 for all others uint8_t program; // 0x91 for ON button, 0x81 for all others
uint8_t seq[4]; // Incremetal sequence number 32 bit unsigned integer LSB first uint8_t seq[4]; // Incremetal sequence number 32 bit unsigned integer LSB first
uint8_t dt1; // Button Data Type (0x32) uint8_t dt1; // Button Data Type (0x20)
uint8_t button; // Identifies which button is being pressed uint8_t button; // Identifies which button is being pressed
uint8_t dt2; // Battery Level Data Type (0x01) uint8_t dt2; // Battery Level Data Type (0x01)
uint8_t batLevel; // Battery Level 0-100 uint8_t batLevel; // Battery Level 0-100