cpu/mips: fix build error raised by a fallthrough warning
This commit is contained in:
parent
581c97bbcf
commit
dcc2982b27
@ -201,9 +201,9 @@ int gpio_init(gpio_t pin, gpio_mode_t mode)
|
||||
pu = 1;
|
||||
break;
|
||||
case GPIO_OD_PU:
|
||||
pu = 1;
|
||||
pu = 1; /* fall-through */
|
||||
case GPIO_OD:
|
||||
od = 1;
|
||||
od = 1; /* fall-through */
|
||||
case GPIO_OUT:
|
||||
output = 1;
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user