Skip to content

Commit b426589

Browse files
committed
Don't assert on NC in gpio_init
1 parent fcc121a commit b426589

File tree

1 file changed

+0
-1
lines changed
  • targets/TARGET_Atmel/TARGET_SAM_CortexM0P

1 file changed

+0
-1
lines changed

targets/TARGET_Atmel/TARGET_SAM_CortexM0P/gpio_api.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ uint32_t gpio_set(PinName pin)
2828

2929
void gpio_init(gpio_t *obj, PinName pin)
3030
{
31-
MBED_ASSERT(pin != (PinName)NC);
3231
struct port_config pin_conf;
3332
PortGroup *const port_base = (PortGroup*)port_get_group_from_gpio_pin(pin);
3433

0 commit comments

Comments
 (0)