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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -114,7 +114,7 @@ extern "C" {
#define NUM_ANALOG_INPUTS 7 #define NUM_ANALOG_INPUTS 7
#define NUM_ANALOG_FIRST 80 #define NUM_ANALOG_FIRST 80
#define ADC_RESOLUTION 12 //#define ADC_RESOLUTION 12
// PWM resolution // PWM resolution
//#define PWM_RESOLUTION 12 //#define PWM_RESOLUTION 12

View File

@ -725,6 +725,7 @@ build_flags = ${common.build_flags}
-std=gnu++14 -std=gnu++14
-DUSBCON -DUSBD_USE_CDC -DUSBCON -DUSBD_USE_CDC
-DTIM_IRQ_PRIO=13 -DTIM_IRQ_PRIO=13
-DADC_RESOLUTION=12
build_unflags = -std=gnu++11 build_unflags = -std=gnu++11
src_filter = ${common.default_src_filter} +<src/HAL/STM32> +<src/HAL/shared/backtrace> src_filter = ${common.default_src_filter} +<src/HAL/STM32> +<src/HAL/shared/backtrace>