From c598b59a5c21ac0e50d1a41b039ef106a658bfa7 Mon Sep 17 00:00:00 2001 From: utzig Date: Mon, 1 Sep 2014 00:26:07 +0000 Subject: [PATCH] [KINETIS] Enable use of I2C connected to MMA8451 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7218 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/boards/FREESCALE_FREEDOM_K20D50M/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/hal/boards/FREESCALE_FREEDOM_K20D50M/board.c b/os/hal/boards/FREESCALE_FREEDOM_K20D50M/board.c index 1d6e49319..15e1d7721 100644 --- a/os/hal/boards/FREESCALE_FREEDOM_K20D50M/board.c +++ b/os/hal/boards/FREESCALE_FREEDOM_K20D50M/board.c @@ -44,7 +44,7 @@ const PALConfig pal_default_config = { .port = IOPORT2, // PORTB .pads = { - /* PTB0*/ PAL_MODE_UNCONNECTED, /* PTB1*/ PAL_MODE_UNCONNECTED, /* PTB2*/ PAL_MODE_UNCONNECTED, + /* PTB0*/ PAL_MODE_ALTERNATIVE_2, /* PTB1*/ PAL_MODE_ALTERNATIVE_2, /* PTB2*/ PAL_MODE_UNCONNECTED, /* PTB3*/ PAL_MODE_UNCONNECTED, /* PTB4*/ PAL_MODE_UNCONNECTED, /* PTB5*/ PAL_MODE_UNCONNECTED, /* PTB6*/ PAL_MODE_UNCONNECTED, /* PTB7*/ PAL_MODE_UNCONNECTED, /* PTB8*/ PAL_MODE_UNCONNECTED, /* PTB9*/ PAL_MODE_UNCONNECTED, /*PTB10*/ PAL_MODE_UNCONNECTED, /*PTB11*/ PAL_MODE_UNCONNECTED,