declare a storage type for enums
This commit is contained in:
parent
6387944c68
commit
be4064bb14
|
@ -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
|
* \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.
|
* are supported by the firmware. The Widget will ignore any unsupported application messages.
|
||||||
*/
|
*/
|
||||||
enum FIRMWARE_TYPE {
|
enum FIRMWARE_TYPE : uint8_t {
|
||||||
FwUnknown = 0,
|
FwUnknown = 0,
|
||||||
FwDMX = 1, //!< Normal DMX firmware.
|
FwDMX = 1, //!< Normal DMX firmware.
|
||||||
FwRDM = 2, //!< RDM firmware
|
FwRDM = 2, //!< RDM firmware
|
||||||
|
@ -54,7 +54,7 @@ enum FIRMWARE_TYPE {
|
||||||
/**
|
/**
|
||||||
* @brief All message labels from API 1.44
|
* @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!
|
OpNoop = 0, //!< null message, out-of-spec definition. Not in API!
|
||||||
OpReprogramFirmware = 1, //!< Reprogram Firmware Request
|
OpReprogramFirmware = 1, //!< Reprogram Firmware Request
|
||||||
OpProgramFlashPage = 2, //!< Program Flash Page Request / Reply
|
OpProgramFlashPage = 2, //!< Program Flash Page Request / Reply
|
||||||
|
|
Loading…
Reference in New Issue