mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 17:38:35 +02:00
FlexRay: Don't enforce key slot rules on non-keyslots
This commit is contained in:
@@ -225,7 +225,7 @@ bool FlexRay::Controller::configure(std::chrono::milliseconds timeout) {
|
|||||||
if(!buf->isTransmit)
|
if(!buf->isTransmit)
|
||||||
continue; // Only transmit frames need to be written to the controller
|
continue; // Only transmit frames need to be written to the controller
|
||||||
|
|
||||||
if(buf->frameID == controllerConfig.KeySlotID) {
|
if((controllerConfig.KeySlotUsedForSync || controllerConfig.KeySlotOnlyEnabled) && buf->frameID == controllerConfig.KeySlotID) {
|
||||||
first = buf;
|
first = buf;
|
||||||
staticTx[0] = buf;
|
staticTx[0] = buf;
|
||||||
// Enforce keyslot rules
|
// Enforce keyslot rules
|
||||||
|
|||||||
Reference in New Issue
Block a user