Add variable for max channel count (to extend serveral arrays)
This commit is contained in:
parent
90c689a41a
commit
a585ffe199
@ -60,7 +60,7 @@ enum ChannelNum_t {
|
||||
CH1,
|
||||
CH2,
|
||||
CH3,
|
||||
CH4
|
||||
CH_CNT
|
||||
};
|
||||
|
||||
enum ChannelType_t {
|
||||
@ -122,7 +122,7 @@ public:
|
||||
private:
|
||||
uint8_t _payloadStatistic[STATISTIC_PACKET_SIZE] = {};
|
||||
uint8_t _statisticLength = 0;
|
||||
uint16_t _stringMaxPower[CH4];
|
||||
uint16_t _stringMaxPower[CH_CNT];
|
||||
|
||||
const std::list<byteAssign_t>* _byteAssignment;
|
||||
std::list<fieldSettings_t> _fieldSettings;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user