summaryrefslogtreecommitdiff
path: root/include/arch/msp430fr5969lp
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-04-30 12:40:16 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-04-30 12:40:16 +0200
commit556195ba1aefc4f8f86e9211067750093d6bd965 (patch)
tree634199e9e814b99b2874cc361f958261c66926a0 /include/arch/msp430fr5969lp
parent6680caddf2a16ef662a158defbb2320d57a5e5ba (diff)
MSP430FR5969 GPIO: Fix typo
Diffstat (limited to 'include/arch/msp430fr5969lp')
-rw-r--r--include/arch/msp430fr5969lp/driver/gpio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/arch/msp430fr5969lp/driver/gpio.h b/include/arch/msp430fr5969lp/driver/gpio.h
index e137462..d279e31 100644
--- a/include/arch/msp430fr5969lp/driver/gpio.h
+++ b/include/arch/msp430fr5969lp/driver/gpio.h
@@ -26,7 +26,7 @@ class GPIO {
* short-circuit other peripherals.
*/
inline void setup() {
- PIDIR = BIT0; // green led
+ P1DIR = BIT0; // green led
P2DIR = 0;
P3DIR = 0;
P4DIR = BIT6; // red LED