Use ADC_RESOLUTION 12 for all STM32 (#20562)

This commit is contained in:
Victor Oliveira
2020-12-28 02:14:08 -03:00
committed by GitHub
parent 185e31d322
commit 28a3d95cda
2 changed files with 3 additions and 2 deletions

View File

@ -114,10 +114,10 @@ extern "C" {
#define NUM_ANALOG_INPUTS 7
#define NUM_ANALOG_FIRST 80
#define ADC_RESOLUTION 12
//#define ADC_RESOLUTION 12
// PWM resolution
// #define PWM_RESOLUTION 12
//#define PWM_RESOLUTION 12
#define PWM_FREQUENCY 20000 // >= 20 Khz => inaudible noise for fans
#define PWM_MAX_DUTY_CYCLE 255