From b9e5fa1f899b7187380c67720a512e21096159c4 Mon Sep 17 00:00:00 2001 From: Christoph Hagen Date: Mon, 11 Dec 2023 00:04:08 +0100 Subject: [PATCH] Fix message type size --- include/message.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/message.h b/include/message.h index f0d6685..e870832 100644 --- a/include/message.h +++ b/include/message.h @@ -14,7 +14,7 @@ #pragma pack(push, 1) -typedef enum { +enum class MessageType: uint8_t { /// @brief The initial message from remote to device to request a challenge. initial = 0, @@ -28,7 +28,7 @@ typedef enum { /// @brief The final message with the unlock result from the device to the remote response = 3, -} MessageType; +}; enum class MessageResult: uint8_t {