diff options
Diffstat (limited to 'os/hal/ports/KINETIS/K20x/pal_lld.c')
-rw-r--r-- | os/hal/ports/KINETIS/K20x/pal_lld.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/os/hal/ports/KINETIS/K20x/pal_lld.c b/os/hal/ports/KINETIS/K20x/pal_lld.c index 221ce7480..89fd8ecc6 100644 --- a/os/hal/ports/KINETIS/K20x/pal_lld.c +++ b/os/hal/ports/KINETIS/K20x/pal_lld.c @@ -137,6 +137,7 @@ void _pal_lld_setpadmode(ioportid_t port, case PAL_MODE_OUTPUT_OPENDRAIN:
portcfg->PCR[pad] = PIN_MUX_ALTERNATIVE(1) |
PORTx_PCRn_ODE;
+ break;
case PAL_MODE_INPUT_PULLUP:
portcfg->PCR[pad] = PIN_MUX_ALTERNATIVE(1) |
PORTx_PCRn_PE |
|