The detection of 'Power Distribution Logic' is based on the firmware version for specific models and is needed to disable any means of overscaling, as it simply does not work when 'Power Distrbution Logic' is available. Based on the code from @AndreasBoehm
15 lines
428 B
C++
15 lines
428 B
C++
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
#pragma once
|
|
|
|
#include "HMS_Abstract.h"
|
|
|
|
class HMS_4CH : public HMS_Abstract {
|
|
public:
|
|
explicit HMS_4CH(HoymilesRadio* radio, const uint64_t serial);
|
|
static bool isValidSerial(const uint64_t serial);
|
|
String typeName() const;
|
|
const byteAssign_t* getByteAssignment() const;
|
|
uint8_t getByteAssignmentSize() const;
|
|
bool supportsPowerDistributionLogic() final;
|
|
};
|