Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-src by
Revision 500:222d8913df56, committed 2015-04-01
- Comitter:
- armdran
- Date:
- Wed Apr 01 09:08:17 2015 +0000
- Parent:
- 499:d0e9408fd176
- Commit message:
- debugt output addded
Changed in this revision
targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/spi_api.c | Show annotated file Show diff for this revision Revisions of this file |
diff -r d0e9408fd176 -r 222d8913df56 targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/spi_api.c --- a/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/spi_api.c Sat Mar 28 08:15:07 2015 +0000 +++ b/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/spi_api.c Wed Apr 01 09:08:17 2015 +0000 @@ -179,7 +179,9 @@ } static inline int spi_readable(spi_t * obj) { + //printf("::spi_readable:: status %x mask %x\r\n", obj->spi->S, SPI_S_SPRF_MASK); return (obj->spi->S & SPI_S_SPRF_MASK) ? 1 : 0; + //return (obj->spi->S & 0x20) ? 1 : 0; } int spi_master_write(spi_t *obj, int value) {