diff options
author | Fabien Poussin <fabien.poussin@gmail.com> | 2017-02-07 15:46:43 +0100 |
---|---|---|
committer | Fabien Poussin <fabien.poussin@gmail.com> | 2017-02-07 15:46:43 +0100 |
commit | 8b7e318d784ff0c724c3564dc4313ba14061223e (patch) | |
tree | 17bca664e6ba6dac2d46492b37e1959ae5e57772 /testhal/STM32 | |
parent | 1d10f06ab48c8d7a52f50825097aade45710fb10 (diff) | |
download | ChibiOS-Contrib-8b7e318d784ff0c724c3564dc4313ba14061223e.tar.gz ChibiOS-Contrib-8b7e318d784ff0c724c3564dc4313ba14061223e.tar.bz2 ChibiOS-Contrib-8b7e318d784ff0c724c3564dc4313ba14061223e.zip |
[Comp] Adding more defines
Diffstat (limited to 'testhal/STM32')
-rw-r--r-- | testhal/STM32/STM32F3xx/COMP/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testhal/STM32/STM32F3xx/COMP/main.c b/testhal/STM32/STM32F3xx/COMP/main.c index 06b35d3..eb1e1c0 100644 --- a/testhal/STM32/STM32F3xx/COMP/main.c +++ b/testhal/STM32/STM32F3xx/COMP/main.c @@ -34,7 +34,7 @@ void comp4_cb(COMPDriver *comp) { static const COMPConfig comp2_conf = {
COMP_OUTPUT_NORMAL,
comp2_cb,
- STM32_COMP_InvertingInput_VREFINT // CSR
+ STM32_COMP_InvertingInput_VREFINT || STM32_COMP_Hysteresis_High // CSR
};
static const COMPConfig comp4_conf = {
|