Fix: setupStep sequence
This commit is contained in:
parent
492d30aaf0
commit
433af98de7
@ -114,7 +114,7 @@ void CArun::chainControl(void)
|
||||
case SETUP_STEP::OPEN_SERIAL_PORT:
|
||||
qCritical() << "CArun: SETUP_STEP::OPEN_SERIAL_PORT";
|
||||
this->openSerialPort();
|
||||
this->setupStep = SETUP_STEP::CHECK_VALID_DATA;
|
||||
this->setupStep = SETUP_STEP::TEST_OPEN_PORT;
|
||||
this->timerChainCtrl->start();
|
||||
break;
|
||||
case SETUP_STEP::TEST_OPEN_PORT:
|
||||
@ -151,7 +151,7 @@ void CArun::chainControl(void)
|
||||
|
||||
this->HWaccess->dc_autoRequest(1);
|
||||
this->setupStep = SETUP_STEP::CHECK_VALID_DATA;
|
||||
this->timerChainCtrl->start();
|
||||
this->timerChainCtrl->start(2000);
|
||||
break;
|
||||
case SETUP_STEP::CHECK_VALID_DATA:
|
||||
qCritical() << "CArun: SETUP_STEP::CHECK_VALID_DATA";
|
||||
|
Loading…
Reference in New Issue
Block a user