cpu/mips: fix build error raised by a fallthrough warning

This commit is contained in:
Alexandre Abadie 2020-07-01 16:20:43 +02:00
parent 581c97bbcf
commit dcc2982b27
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -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;