From 33383202eeb61c381ce75cd930d770ef5518008a Mon Sep 17 00:00:00 2001 From: utzig Date: Wed, 20 Aug 2014 00:32:43 +0000 Subject: [KINETIS] Fix opendrain output configuration git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7181 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/KINETIS/K20x/pal_lld.c | 1 + 1 file changed, 1 insertion(+) (limited to 'os') 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 | -- cgit v1.2.3