aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32
diff options
context:
space:
mode:
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.