Fix message type size
This commit is contained in:
parent
1fe03a6906
commit
b9e5fa1f89
@ -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 {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user