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 {