summaryrefslogtreecommitdiff
path: root/include/arch/msp430fr5969lp
diff options
context:
space:
mode:
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