fix: tighten LSS fastscan completion condition
This commit is contained in:
parent
9b8beed836
commit
0d78dcbc0c
1 changed files with 2 additions and 1 deletions
|
|
@ -135,7 +135,8 @@ CO_LSSslave_receive(void* object, void* msg) {
|
|||
ack = true;
|
||||
LSSslave->fastscanPos = lssNext;
|
||||
|
||||
if ((bitCheck == 0U) && (lssNext < lssSub)) {
|
||||
if ((bitCheck == 0U) && (lssSub == CO_LSS_FASTSCAN_SERIAL)
|
||||
&& (lssNext == CO_LSS_FASTSCAN_VENDOR_ID)) {
|
||||
/* complete match, enter configuration state */
|
||||
LSSslave->lssState = CO_LSS_STATE_CONFIGURATION;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue