1
0
Fork 0

feature sets are encoded in the high byte of the firmware version

This commit is contained in:
Kevin Matz 2023-04-14 09:54:05 -04:00
parent 1bf3f23a66
commit da32cf4240
1 changed files with 10 additions and 0 deletions

View File

@ -54,6 +54,16 @@ public:
* @return
*/
bool isConnected() const { return usb_mode != USBunknown; }
/**
* @brief featureDMX
* @return
*/
bool featureDMX() const { return firmware_version >> 8 == Pro::FwDMX || featureRDM(); }
/**
* @brief featureRDM
* @return
*/
bool featureRDM() const { return firmware_version >> 8 == Pro::FwRDM; }
virtual void setModeController();
virtual void setModeBridge(Pro::DMX_RX_MODE = Pro::RxNotifyAlways);