diff options
author | utzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-08-20 00:32:43 +0000 |
---|---|---|
committer | utzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-08-20 00:32:43 +0000 |
commit | 33383202eeb61c381ce75cd930d770ef5518008a (patch) | |
tree | c10953da2f07b95cec9c2fdb3a000e3587df15a1 /os/hal | |
parent | b11b3d4b0b4a3c3df90de78ed2a1e213e5302211 (diff) | |
download | ChibiOS-33383202eeb61c381ce75cd930d770ef5518008a.tar.gz ChibiOS-33383202eeb61c381ce75cd930d770ef5518008a.tar.bz2 ChibiOS-33383202eeb61c381ce75cd930d770ef5518008a.zip |
[KINETIS] Fix opendrain output configuration
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7181 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-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 |
|