add 2s delay for bitmap upload

This commit is contained in:
Yunhorn 2025-05-23 14:40:46 +08:00
parent ac9d8680bd
commit 360659e441
1 changed files with 1 additions and 0 deletions

View File

@ -564,6 +564,7 @@ void STS_YunhornSTSEventP5_Process(void)
{ {
APP_LOG(TS_OFF, VLEVEL_M, "\r\n Upload Fall Gesture Type 2 , status=%d \r\n", sts_fhmos_bitmap_pending); APP_LOG(TS_OFF, VLEVEL_M, "\r\n Upload Fall Gesture Type 2 , status=%d \r\n", sts_fhmos_bitmap_pending);
STS_FHMOS_sensor_upload_map(0x02); STS_FHMOS_sensor_upload_map(0x02);
HAL_Delay(2000);
APP_LOG(TS_OFF, VLEVEL_M, "\r\n Upload Fall Gesture Type 4 , status=%d \r\n", sts_fhmos_bitmap_pending); APP_LOG(TS_OFF, VLEVEL_M, "\r\n Upload Fall Gesture Type 4 , status=%d \r\n", sts_fhmos_bitmap_pending);
STS_FHMOS_sensor_upload_map(0x04); STS_FHMOS_sensor_upload_map(0x04);
} }