A270S版本路测100km差1.2km-V0.10版本

This commit is contained in:
2025-03-26 08:32:48 +08:00
parent 157c3dabe4
commit 497f8eb1e1
31 changed files with 58890 additions and 56625 deletions

View File

@ -726,6 +726,7 @@ extern int get_usb_mode();
extern int ark_network_init(void);
#endif
extern void Moto_speed_timer(void);
void awtk_thread(void *data)
{
printf("awtk thread start.\n");
@ -861,6 +862,8 @@ void awtk_thread(void *data)
// static float cell_value = 0;
// static uint8_t cell_count = 0;
// Moto_speed_timer();
while(1) {
#ifdef TASK_STATUS_MONITOR
@ -881,6 +884,11 @@ void awtk_thread(void *data)
idletick = xTaskGetTickCount();
}
#endif
// static uint32_t idletick_500ms = 0;
// if (xTaskGetTickCount() - idletick_500ms > 500) {
// speed_convert_mile_calculation();
// idletick_500ms = xTaskGetTickCount();
// }
vTaskDelay(pdMS_TO_TICKS(10)); /*Just to let the system breath*/
}
}