1
0
Fork 0

declare a storage type for enums

This commit is contained in:
Kevin Matz 2023-04-09 19:32:35 -04:00
parent 6387944c68
commit be4064bb14
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ const uint8_t END_DELIMITER = 0xe7; //!< End of message delimiter
* \cite DMXUSBPro The Widget firmware version identifies the set of application messages that
* are supported by the firmware. The Widget will ignore any unsupported application messages.
*/
enum FIRMWARE_TYPE {
enum FIRMWARE_TYPE : uint8_t {
FwUnknown = 0,
FwDMX = 1, //!< Normal DMX firmware.
FwRDM = 2, //!< RDM firmware
@ -54,7 +54,7 @@ enum FIRMWARE_TYPE {
/**
* @brief All message labels from API 1.44
*/
enum MESSAGE_LABEL {
enum MESSAGE_LABEL : uint8_t {
OpNoop = 0, //!< null message, out-of-spec definition. Not in API!
OpReprogramFirmware = 1, //!< Reprogram Firmware Request
OpProgramFlashPage = 2, //!< Program Flash Page Request / Reply