From 15cec7875dedfb00d892f7e19b98667484b529a9 Mon Sep 17 00:00:00 2001 From: Adrian Miriuta Date: Tue, 8 Sep 2020 19:05:03 +0200 Subject: [PATCH] cleanup --- src/main/target/SUCCEXMINI40A/target.h | 4 ++-- src/main/target/WRAITH32V2/target.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/target/SUCCEXMINI40A/target.h b/src/main/target/SUCCEXMINI40A/target.h index 7c3816e..b87d3b7 100644 --- a/src/main/target/SUCCEXMINI40A/target.h +++ b/src/main/target/SUCCEXMINI40A/target.h @@ -10,7 +10,7 @@ //#define DEBUG_MS_TIMER //#define DEBUG_DATA_QUALITY -// CYCLETIME_MAINLOOP kalman->400us (+-10%), median->150us (+-10%) +// CYCLETIME_MAINLOOP kalman->500us, median->100us #define USE_PWM_FREQUENCY_48kHz //#define USE_ADC_MEDIAN @@ -61,7 +61,7 @@ #define COMPARATOR_COMMON COMP_NONINVERTINGINPUT_IO1 #define COMPARATOR_MASK GPIO_PIN_0 | GPIO_PIN_1 | GPIO_PIN_4 | GPIO_PIN_5 -// adc, Ko +// adc, No //#define USE_ADC #define ADC_VOLTAGE ADC_CHANNEL_3 #define ADC_CURRENT ADC_CHANNEL_6 diff --git a/src/main/target/WRAITH32V2/target.h b/src/main/target/WRAITH32V2/target.h index e8799ef..dad3848 100644 --- a/src/main/target/WRAITH32V2/target.h +++ b/src/main/target/WRAITH32V2/target.h @@ -49,7 +49,7 @@ #define C_FET_LO_GPIO GPIOA #define C_FET_LO_PIN GPIO_PIN_7 -// comparator ,Ok +// comparator, Ok #define COMPARATOR_OPTIMIZE #define COMPARATOR COMP1 #define COMPARATOR_PHASE_A COMP_INVERTINGINPUT_IO1 @@ -61,7 +61,7 @@ #define COMPARATOR_COMMON COMP_NONINVERTINGINPUT_IO1 #define COMPARATOR_MASK GPIO_PIN_0 | GPIO_PIN_1 | GPIO_PIN_4 | GPIO_PIN_5 -// adc ,Ok +// adc, Ok #define USE_ADC #define ADC_VOLTAGE ADC_CHANNEL_3 #define ADC_CURRENT ADC_CHANNEL_6