change way for steering to be ready
This commit is contained in:
@@ -268,11 +268,11 @@ void CM_processIncome(uint8_t idSender, uint8_t idMsg, bool rtr, uint32_t data){
|
||||
KART_CST.STEERING_ALIVE_TIME = MEM_read_1_byte(MEMADD_STEERING_ALIVE_TIME);
|
||||
ALIVE_emitResurrect(&steering()->myChecker, 500, 0);
|
||||
ALIVE_emitBorn(&steering()->myChecker, 1000, 0);
|
||||
ALIVE_emitReady(&steering()->myChecker, 5000, 0);
|
||||
//ALIVE_emitReady(&steering()->myChecker, 5000, 0);
|
||||
}
|
||||
if(bField.bitSplit.b4) {
|
||||
if (steering()->myChecker.state == STAL_BORN){
|
||||
//ALIVE_emitReady(&steering()->myChecker, 1000, 0);
|
||||
ALIVE_emitReady(&steering()->myChecker, 1000, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user