有时能正常读取心率和血氧,有时数据是错的,比如心率会掉到40,血氧掉到80,需要跟进问题
This commit is contained in:
+1
-1
@@ -247,7 +247,7 @@ static void MX_GPIO_Init(void)
|
||||
/*Configure GPIO pin : MAX_INT_Pin */
|
||||
GPIO_InitStruct.Pin = MAX_INT_Pin;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Pull = GPIO_PULLUP;
|
||||
HAL_GPIO_Init(MAX_INT_GPIO_Port, &GPIO_InitStruct);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user