ValueCAN 4 Industrial: Disable 16-bit alignment over Ethernet

This is a continuation of a1a544045b
v0.3.0-dev
Paul Hollinsky 2021-11-16 19:27:38 -05:00
parent ac77fe2b56
commit 988289afc1
1 changed files with 5 additions and 0 deletions

View File

@ -59,6 +59,11 @@ public:
bool currentDriverSupportsDFU() const override { return false; }
protected:
void setupPacketizer(Packetizer& packetizer) override {
ValueCAN4Industrial::setupPacketizer(packetizer);
packetizer.align16bit = false;
}
virtual void setupSupportedRXNetworks(std::vector<Network>& rxNetworks) override {
for(auto& netid : GetSupportedNetworks())
rxNetworks.emplace_back(netid);