sam3x8e: Fix typo in gpio_in_setup() shutdown message
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
4fcf0ff2ac
commit
affdbbf9ca
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue