Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianmiriuta committed Sep 8, 2020
1 parent e594898 commit 15cec78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/target/SUCCEXMINI40A/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/main/target/WRAITH32V2/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 15cec78

Please sign in to comment.