This commit is contained in:
Yunhorn 2025-01-03 16:20:06 +08:00
parent 6f806e0e6b
commit fa211f19f6
4 changed files with 3 additions and 2 deletions

View File

@ -42,7 +42,7 @@ void MX_USART2_UART_Init(void)
/* USER CODE END USART2_Init 1 */
huart2.Instance = USART2;
#ifdef L8
huart2.Init.BaudRate = 115200; //921600;
huart2.Init.BaudRate = 460800; //921600;
#else
huart2.Init.BaudRate = 115200;
#endif

View File

@ -340,7 +340,8 @@ void sts_generate_fall_gesture_map(void)
APP_LOG(TS_OFF, VLEVEL_L, "\r\n Head level =%4d cm, Head_xy=%d X:Y = %2d : %2d \r\n", fhmos_gesture.head_level, head_xy, (head_xy%8), (head_xy/8));
APP_LOG(TS_OFF, VLEVEL_L, "\r\n Thresholds: Headlevel=%4d cm, Gesture Mask off=%d cm, Min body height=%d cm\r\n",
(uint8_t)fhmos_cfg.th_head_level_height_cm, (uint8_t)fhmos_cfg.th_gesture_mask_off_height_cm, (uint8_t)(fhmos_cfg.th_fall_body_min_height_cm));
#if 0
for (i=0; i<64; i++)
{