mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
FlexRay: Don't set default key slots to continuous
This way they will come out as NULL frames, which is likely more appropriate for a default. This only takes effect if you set a key slot, but then don't configure a message buffer for it.
This commit is contained in:
@@ -202,7 +202,7 @@ bool FlexRay::Controller::configure(std::chrono::milliseconds timeout) {
|
||||
first->frameLengthBytes = clusterConfig.PayloadLengthOfStaticSlotInWords * 2;
|
||||
first->baseCycle = 0;
|
||||
first->cycleRepetition = 1;
|
||||
first->continuousMode = true;
|
||||
first->continuousMode = false;
|
||||
staticTx.push_back(first);
|
||||
firstUsed = true;
|
||||
|
||||
@@ -215,7 +215,7 @@ bool FlexRay::Controller::configure(std::chrono::milliseconds timeout) {
|
||||
second->frameLengthBytes = clusterConfig.PayloadLengthOfStaticSlotInWords * 2;
|
||||
second->baseCycle = 0;
|
||||
second->cycleRepetition = 1;
|
||||
second->continuousMode = true;
|
||||
second->continuousMode = false;
|
||||
staticTx.push_back(second);
|
||||
secondUsed = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user