diff options
author | utzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-09-01 00:26:07 +0000 |
---|---|---|
committer | utzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-09-01 00:26:07 +0000 |
commit | c598b59a5c21ac0e50d1a41b039ef106a658bfa7 (patch) | |
tree | 44498492d99bd9ab31238426c36c7cf859771755 /os/hal/boards | |
parent | 93e2431f2209224e258dee81e878abcd3dd3ab72 (diff) | |
download | ChibiOS-c598b59a5c21ac0e50d1a41b039ef106a658bfa7.tar.gz ChibiOS-c598b59a5c21ac0e50d1a41b039ef106a658bfa7.tar.bz2 ChibiOS-c598b59a5c21ac0e50d1a41b039ef106a658bfa7.zip |
[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
Diffstat (limited to 'os/hal/boards')
-rw-r--r-- | os/hal/boards/FREESCALE_FREEDOM_K20D50M/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
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,
|