code 36


sergeynik

Member
Likes
17
Location
Kazakhstan
0.033v in module 1
79845567_1390242201156001_3859472751945318400_o.jpg





in my DDCP module add button 2 from dashboard
if(msg_buf2.StdId==CAN_ID_DISPLAY_KEYS) {

if(msg_buf2.Data[0]==2) send_clear_bcuerr();
}

send_clear_bcuerr()
{
TxMessage.StdId = clear_faults_can_id; //
TxMessage.RTR = CAN_RTR_DATA; //
TxMessage.IDE = CAN_ID_STD; //
TxMessage.DLC = 4; //
TxMessage.Data[0] = 0xff; //
TxMessage.Data[1] = 0xff; //
TxMessage.Data[2] = 0xff; //
TxMessage.Data[3] = 0xff; //
CAN_Transmit(CAN2, &TxMessage);
}


 

Jayfox911

Well-known member
Likes
182
Location
San Diego, CA
So you added a command action for pressing display button two to clear the error codes to the firmware?
What file did you edit, full path please?
 

Similar threads

Top Bottom