aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F3xx/COMP/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/STM32F3xx/COMP/main.c')
-rw-r--r--testhal/STM32/STM32F3xx/COMP/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testhal/STM32/STM32F3xx/COMP/main.c b/testhal/STM32/STM32F3xx/COMP/main.c
index 83a00ff..06b35d3 100644
--- a/testhal/STM32/STM32F3xx/COMP/main.c
+++ b/testhal/STM32/STM32F3xx/COMP/main.c
@@ -34,13 +34,13 @@ void comp4_cb(COMPDriver *comp) {
static const COMPConfig comp2_conf = {
COMP_OUTPUT_NORMAL,
comp2_cb,
- COMP_CSR_COMPxINSEL_0 | COMP_CSR_COMPxOUTSEL_0 // CSR
+ STM32_COMP_InvertingInput_VREFINT // CSR
};
static const COMPConfig comp4_conf = {
COMP_OUTPUT_INVERTED,
comp4_cb,
- COMP_CSR_COMPxINSEL_0 | COMP_CSR_COMPxOUTSEL_1 // CSR
+ STM32_COMP_InvertingInput_1_2VREFINT | COMP_CSR_COMPxOUTSEL_1 // CSR
};