mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +02:00
ValueCAN 4 Industrial: Disable 16-bit alignment over Ethernet
This is a continuation of a1a544045b
This commit is contained in:
@@ -59,6 +59,11 @@ public:
|
|||||||
bool currentDriverSupportsDFU() const override { return false; }
|
bool currentDriverSupportsDFU() const override { return false; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
void setupPacketizer(Packetizer& packetizer) override {
|
||||||
|
ValueCAN4Industrial::setupPacketizer(packetizer);
|
||||||
|
packetizer.align16bit = false;
|
||||||
|
}
|
||||||
|
|
||||||
virtual void setupSupportedRXNetworks(std::vector<Network>& rxNetworks) override {
|
virtual void setupSupportedRXNetworks(std::vector<Network>& rxNetworks) override {
|
||||||
for(auto& netid : GetSupportedNetworks())
|
for(auto& netid : GetSupportedNetworks())
|
||||||
rxNetworks.emplace_back(netid);
|
rxNetworks.emplace_back(netid);
|
||||||
|
|||||||
Reference in New Issue
Block a user