Skip to content

Commit

Permalink
Change Input mode of the tip sense signal for Miniware (#1990)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralim authored Nov 7, 2024
1 parent a0a779f commit 21ecc15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Core/BSP/MHP30/stm32f1xx_hal_msp.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void HAL_ADC_MspInit(ADC_HandleTypeDef *hadc) {
GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
HAL_GPIO_Init(TIP_TEMP_GPIO_Port, &GPIO_InitStruct);
GPIO_InitStruct.Pin = TMP36_INPUT_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
HAL_GPIO_Init(TMP36_INPUT_GPIO_Port, &GPIO_InitStruct);
GPIO_InitStruct.Pin = VIN_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
Expand Down

0 comments on commit 21ecc15

Please sign in to comment.