summaryrefslogtreecommitdiff
path: root/include/msp430fr5969lp
diff options
context:
space:
mode:
Diffstat (limited to 'include/msp430fr5969lp')
-rw-r--r--include/msp430fr5969lp/driver/gpio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/msp430fr5969lp/driver/gpio.h b/include/msp430fr5969lp/driver/gpio.h
index 6f0999c..caed74a 100644
--- a/include/msp430fr5969lp/driver/gpio.h
+++ b/include/msp430fr5969lp/driver/gpio.h
@@ -88,6 +88,7 @@ class GPIO {
} else if (pin < PIN_INVALID) {
return PJIN & (1 << (pin - pj_0));
}
+ return 0;
}
inline void write(unsigned char const pin, unsigned char value) {
if (pin < p2_0) {