Skip to content

Commit ffd2c5d

Browse files
Merge pull request #129 from runger1101001/dev
fix for #128 stm32g4xx current sense compile error
2 parents a6075ec + 4555f91 commit ffd2c5d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/current_sense/hardware_specific/stm32g4_hal.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
#define stm32g4_hal
33

44
#if defined(STM32G4xx)
5+
6+
#include <stm32g4xx_hal_adc.h>
7+
#include <stm32g4xx_hal_opamp.h>
8+
59
void MX_GPIO_Init(void);
610
void MX_DMA_Init(void);
711
void MX_ADC1_Init(ADC_HandleTypeDef* hadc1);

0 commit comments

Comments
 (0)