add can modifier for ramp
This commit is contained in:
parent
44d4d1210c
commit
7750978f18
@ -176,6 +176,14 @@ void CM_processIncome(uint8_t idSender, uint8_t idMsg, bool rtr, uint32_t data){
|
||||
CM_SUPPLY_SETUP(NULL);
|
||||
|
||||
}
|
||||
|
||||
if(idMsg == 0x9) { // CONTROL_PARAM_MAX_CHANGES
|
||||
// maxChangeSteering maxChangeDrive - -
|
||||
KART_CST.CONTROL_PARAM_MAX_CHANGE_STEERING = incomeData.separate.byte0;
|
||||
KART_CST.CONTROL_PARAM_MAX_CHANGE_DRIVE = incomeData.separate.byte1;
|
||||
MEM_write_1_byte(MEMADD_CONTROL_PARAM_MAX_CHANGE_STEERING, KART_CST.CONTROL_PARAM_MAX_CHANGE_STEERING);
|
||||
MEM_write_1_byte(MEMADD_CONTROL_PARAM_MAX_CHANGE_DRIVE, KART_CST.CONTROL_PARAM_MAX_CHANGE_DRIVE);
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user