From 7059c87ab4f237187bab6db709280de3a6b8ea6b Mon Sep 17 00:00:00 2001 From: Fabien Poussin Date: Tue, 7 Feb 2017 10:58:11 +0100 Subject: [COMP] Fixing headers, missing includes. --- testhal/STM32/STM32F3xx/COMP/main.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'testhal/STM32/STM32F3xx') diff --git a/testhal/STM32/STM32F3xx/COMP/main.c b/testhal/STM32/STM32F3xx/COMP/main.c index dfea2cc..5b377aa 100644 --- a/testhal/STM32/STM32F3xx/COMP/main.c +++ b/testhal/STM32/STM32F3xx/COMP/main.c @@ -45,6 +45,18 @@ static const EXTConfig extcfg = { } }; +static const COMPConfig comp2_conf = { + COMP_OUTPUT_NORMAL, + NULL, + 0 +}; + +static const COMPConfig comp4_conf = { + COMP_OUTPUT_INVERTED, + NULL, + 0 +}; + /* * Application entry point. @@ -55,7 +67,8 @@ int main(void) { chSysInit(); extStart(&EXTD1, &extcfg); - //compStart(&COMPD2, &comp2_conf); + compStart(&COMPD2, &comp2_conf); + compStart(&COMPD4, &comp4_conf); /* * Normal main() thread activity, it resets the watchdog. -- cgit v1.2.3