|
|
@@ -57,10 +57,10 @@ void Check_Can_Self_Send_Status(void)
|
|
|
if (delay > 100) {
|
|
|
shark_can_send_time = time;
|
|
|
|
|
|
- if (shark_can_send_times < 10) {
|
|
|
+ if (shark_can_send_times < 20) {
|
|
|
shark_can_send_times++;
|
|
|
|
|
|
- if (shark_can_send_times == 10) {
|
|
|
+ if (shark_can_send_times == 20) {
|
|
|
shark_can_send_pending = 0;
|
|
|
}
|
|
|
}
|
|
|
@@ -68,6 +68,10 @@ void Check_Can_Self_Send_Status(void)
|
|
|
Can_End_Ctr_Self_Send_Check(&app_can_ctr_frame);
|
|
|
Can_Bms_1_Self_Send_Check(&app_can_bms_1_frame);
|
|
|
Can_Bms_2_Self_Send_Check(&app_can_bms_2_frame);
|
|
|
+
|
|
|
+ if (shark_can_send_pending != 0) {
|
|
|
+ println("times: %d, pending: %x", shark_can_send_times, shark_can_send_pending);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|