FlexRay: Don't check for POCReady when writing configuration
It is not needed and this gives a good speedup to configurationpull/25/head
parent
8ae3317930
commit
9ac3fd56bd
|
|
@ -274,7 +274,7 @@ bool FlexRay::Controller::configure(std::chrono::milliseconds timeout) {
|
||||||
});
|
});
|
||||||
|
|
||||||
for(const auto& regpair : registerWrites) {
|
for(const auto& regpair : registerWrites) {
|
||||||
if(!writeRegister(regpair.first, regpair.second, true, timeout))
|
if(!writeRegister(regpair.first, regpair.second, false, timeout))
|
||||||
return false;
|
return false;
|
||||||
updateTimeout();
|
updateTimeout();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue