sam3x8e: Fix typo in gpio_in_setup() shutdown message

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2017-03-08 13:12:36 -05:00
parent 4fcf0ff2ac
commit affdbbf9ca
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ gpio_in_setup(uint8_t pin, int8_t pull_up)
irq_restore(flag); irq_restore(flag);
return (struct gpio_in){ .regs=regs, .bit=bit }; return (struct gpio_in){ .regs=regs, .bit=bit };
fail: fail:
shutdown("Not an output pin"); shutdown("Not an input pin");
} }
uint8_t uint8_t