
Projet
Dependencies: LCD_DISCO_F746NG BSP_DISCO_F746NG
Diff: SPI_TFT.cpp
- Revision:
- 12:9de056a58793
- Parent:
- 11:9bb71766cafc
- Child:
- 17:d7e48335953e
--- a/SPI_TFT.cpp Tue Feb 19 21:49:55 2013 +0000 +++ b/SPI_TFT.cpp Tue Mar 05 15:47:00 2013 +0000 @@ -577,7 +577,8 @@ _spi.format(8,3); // 8 bit Mode 3 _spi.write(SPI_START | SPI_WR | SPI_DATA); // Write : RS = 1, RW = 0 _spi.format(16,3); // switch to 16 bit Mode 3 - for (i=0; i<w; i++) { + int j; + for (j=0; j<w; j++) { _spi.write(color); } #endif