Fix message type size

This commit is contained in:
Christoph Hagen 2023-12-11 00:04:08 +01:00
parent 1fe03a6906
commit b9e5fa1f89

View File

@ -14,7 +14,7 @@
#pragma pack(push, 1) #pragma pack(push, 1)
typedef enum { enum class MessageType: uint8_t {
/// @brief The initial message from remote to device to request a challenge. /// @brief The initial message from remote to device to request a challenge.
initial = 0, initial = 0,
@ -28,7 +28,7 @@ typedef enum {
/// @brief The final message with the unlock result from the device to the remote /// @brief The final message with the unlock result from the device to the remote
response = 3, response = 3,
} MessageType; };
enum class MessageResult: uint8_t { enum class MessageResult: uint8_t {