aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-04-16 11:40:40 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-04-16 11:40:40 +0000
commitac274162960ce4f07127bcc7eaf9811b976a5ee4 (patch)
tree6e648f81df39159605cb88a11893d846ec48f441 /demos/STM32
parentc3615cd90efe574cd82517591e3f6689d873b3e9 (diff)
downloadChibiOS-ac274162960ce4f07127bcc7eaf9811b976a5ee4.tar.gz
ChibiOS-ac274162960ce4f07127bcc7eaf9811b976a5ee4.tar.bz2
ChibiOS-ac274162960ce4f07127bcc7eaf9811b976a5ee4.zip
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
Diffstat (limited to 'demos/STM32')
-rw-r--r--demos/STM32/RT-STM32F334-DISCOVERY/main.c4
1 files changed, 2 insertions, 2 deletions
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.