From affdbbf9ca120da415aff2a8e8dea2847800ee39 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 8 Mar 2017 13:12:36 -0500 Subject: [PATCH] sam3x8e: Fix typo in gpio_in_setup() shutdown message Signed-off-by: Kevin O'Connor --- src/sam3x8e/gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sam3x8e/gpio.c b/src/sam3x8e/gpio.c index 9b88a0ce..f2e10069 100644 --- a/src/sam3x8e/gpio.c +++ b/src/sam3x8e/gpio.c @@ -105,7 +105,7 @@ gpio_in_setup(uint8_t pin, int8_t pull_up) irq_restore(flag); return (struct gpio_in){ .regs=regs, .bit=bit }; fail: - shutdown("Not an output pin"); + shutdown("Not an input pin"); } uint8_t