From ac274162960ce4f07127bcc7eaf9811b976a5ee4 Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Sat, 16 Apr 2016 11:40:40 +0000 Subject: Fixed bug #731 related to RT-STM32F334-DISCOVERY git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9290 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/STM32/RT-STM32F334-DISCOVERY/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'demos/STM32') diff --git a/demos/STM32/RT-STM32F334-DISCOVERY/main.c b/demos/STM32/RT-STM32F334-DISCOVERY/main.c index 093a64910..26b6dec3b 100644 --- a/demos/STM32/RT-STM32F334-DISCOVERY/main.c +++ b/demos/STM32/RT-STM32F334-DISCOVERY/main.c @@ -65,8 +65,8 @@ int main(void) { * Turning off buck switch. Note that this means to completely turn of the * High Brightness LED which is driven by the buck converter. */ - palSetLineMode(LINE_BK_Drive, PAL_MODE_OUTPUT_PUSHPULL); - palClearLine(LINE_BK_Drive); + palSetLineMode(LINE_BK_DRIVE, PAL_MODE_OUTPUT_PUSHPULL); + palClearLine(LINE_BK_DRIVE); /* * Activates the serial driver 2 using the driver default configuration. -- cgit v1.2.3