diff options
Diffstat (limited to 'testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.c')
-rw-r--r-- | testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.c b/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.c index 0918c108c..639e2f97e 100644 --- a/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.c +++ b/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.c @@ -22,6 +22,8 @@ * @{
*/
+#include "hal.h"
+
#include "portab.h"
/*===========================================================================*/
@@ -48,4 +50,12 @@ /* Module exported functions. */
/*===========================================================================*/
+void portab_setup(void) {
+
+ /*
+ * LED line as output.
+ */
+ palSetLineMode(LINE_LED_GREEN, PAL_MODE_OUTPUT_PUSHPULL);
+}
+
/** @} */
|