Skip to content

Commit

Permalink
Increase number of ADC channels (to not crash when measuring vref and…
Browse files Browse the repository at this point in the history
… internal temperature) (#138)
  • Loading branch information
LukasLendvorsky authored Oct 6, 2023
1 parent 1398c2a commit 916791a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/arm/prusa/stm32f407/stm32f4xx_adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ enum RegIndex {

typedef struct STM32F4XXADCCState STM32F4XXADCCState;

#define ADC_NUM_REG_CHANNELS 16
#define ADC_NUM_REG_CHANNELS 18

OBJECT_DECLARE_SIMPLE_TYPE(STM32F4XXADCState, STM32F4xx_ADC)

Expand Down

0 comments on commit 916791a

Please sign in to comment.