mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +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)
|
||||
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;
|
||||
staticTx[0] = buf;
|
||||
// Enforce keyslot rules
|
||||
|
||||
Reference in New Issue
Block a user