From 53d4dfdc100bd69672baeabe5a23b7df851402fb Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 3 Jun 2013 13:09:13 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5803 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/SPC563Mxx/SPI/main.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'testhal/SPC563Mxx') diff --git a/testhal/SPC563Mxx/SPI/main.c b/testhal/SPC563Mxx/SPI/main.c index 212642c2f..b71f85d78 100644 --- a/testhal/SPC563Mxx/SPI/main.c +++ b/testhal/SPC563Mxx/SPI/main.c @@ -107,17 +107,13 @@ int main(void) { halInit(); chSysInit(); - /* - * SPI1 I/O pins setup. - */ - /* * Prepare transmit pattern. */ for (i = 0; i < sizeof(txbuf); i++) txbuf[i] = (uint8_t)i; - /* Starting driver for test.*/ + /* Starting driver for test, DSPI_B I/O pins setup.*/ spiStart(&SPID2, &ls_spicfg); SIU.PCR[102].R = PAL_MODE_OUTPUT_ALTERNATE(1); /* SCK */ SIU.PCR[103].R = PAL_MODE_OUTPUT_ALTERNATE(1); /* SIN */ -- cgit v1.2.3