add 2s delay for bitmap upload
This commit is contained in:
parent
ac9d8680bd
commit
360659e441
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue