From 03331a3fd71c5ea74485e482ea1b5cb7f35890bf Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 28 Mar 2013 12:09:21 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5513 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/SPC563Mxx/SPI/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testhal/SPC563Mxx/SPI') diff --git a/testhal/SPC563Mxx/SPI/main.c b/testhal/SPC563Mxx/SPI/main.c index 23ccd435a..25c9a2ede 100644 --- a/testhal/SPC563Mxx/SPI/main.c +++ b/testhal/SPC563Mxx/SPI/main.c @@ -120,6 +120,8 @@ int main(void) { txbuf[i] = (uint8_t)i; spiStart(&SPID2, &hs_spicfg); /* Setup transfer parameters. */ + spiExchange(&SPID2, 4, + txbuf, rxbuf); /* Atomic transfer operations. */ spiExchange(&SPID2, 512, txbuf, rxbuf); /* Atomic transfer operations. */ -- cgit v1.2.3