mark standards parameters as static
This commit is contained in:
parent
b6e9425083
commit
cd884a8593
|
@ -39,8 +39,8 @@ struct Receiver
|
|||
* receiving device shall be at “full” (its specified maximum state, position, speed, etc.)
|
||||
* with any control signal above 9.8 volts.
|
||||
*/
|
||||
const int16_t zero = 300; //!< upper "Zero" threshold as mV, 0.3 V
|
||||
const int16_t full = 9800; //!< lower "Full" threshold as mV, 9.8 V
|
||||
static const int16_t zero = 300; //!< upper "Zero" threshold as mV, 0.3 V
|
||||
static const int16_t full = 9800; //!< lower "Full" threshold as mV, 9.8 V
|
||||
|
||||
/**
|
||||
* @brief Convert millivolts to an 8-bit level.
|
||||
|
|
|
@ -37,9 +37,9 @@ struct Transmitter
|
|||
* Zero volts shall represent the full off condition and ten volts shall represent the
|
||||
* full on condition.
|
||||
*/
|
||||
const int16_t zero = 0; //!< mV, 0.0 V
|
||||
const int16_t zero_max = 200; //!< mv, 0.2 V
|
||||
const int16_t full = 10000; //!< mV, 10.0 V
|
||||
static const int16_t zero = 0; //!< mV, 0.0 V
|
||||
static const int16_t zero_max = 200; //!< mv, 0.2 V
|
||||
static const int16_t full = 10000; //!< mV, 10.0 V
|
||||
|
||||
/**
|
||||
* @brief Convert an 8-bit level to millivolts.
|
||||
|
|
Loading…
Reference in New Issue