[Cryptech-Commits] [sw/stm32] 01/09: correct LED pinouts for the Alpha

git at cryptech.is git at cryptech.is
Wed May 18 19:16:12 UTC 2016


This is an automated email from the git hooks/post-receive script.

fredrik at thulin.net pushed a commit to branch master
in repository sw/stm32.

commit e02808ab140070f3493ee69fcd9e18077c50511e
Author: Fredrik Thulin <fredrik at thulin.net>
AuthorDate: Tue May 17 15:24:28 2016 +0200

    correct LED pinouts for the Alpha
---
 stm-led.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/stm-led.h b/stm-led.h
index bcac463..7c20879 100644
--- a/stm-led.h
+++ b/stm-led.h
@@ -38,10 +38,10 @@
 #include "stm32f4xx_hal.h"
 
 #define LED_PORT        GPIOK
-#define LED_RED         GPIO_PIN_5
-#define LED_YELLOW      GPIO_PIN_7
-#define LED_GREEN       GPIO_PIN_4
-#define LED_BLUE        GPIO_PIN_6
+#define LED_RED         GPIO_PIN_7
+#define LED_YELLOW      GPIO_PIN_6
+#define LED_GREEN       GPIO_PIN_5
+#define LED_BLUE        GPIO_PIN_4
 
 #define led_on(pin)     HAL_GPIO_WritePin(LED_PORT,pin,SET)
 #define led_off(pin)    HAL_GPIO_WritePin(LED_PORT,pin,RESET)



More information about the Commits mailing list