FlexRay: Don't enforce key slot rules on non-keyslots
parent
159c54b756
commit
eace014494
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue