STMPE610 touch sensor driver library
Dependents: TS_Eyes Tokei testUniGraphic_150217 AfficheurTFTAdafruit ... more
Revision 13:09fece599665, committed 2015-11-26
- Comitter:
- Rhyme
- Date:
- Thu Nov 26 00:38:55 2015 +0000
- Parent:
- 10:dc5912872d41
- Child:
- 14:6740dfc84a8c
- Commit message:
- FRDM-KL46Z required spi_format(8,1)
Changed in this revision
| SPI_STMPE610.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SPI_STMPE610.cpp Wed Nov 25 11:44:15 2015 +0000
+++ b/SPI_STMPE610.cpp Thu Nov 26 00:38:55 2015 +0000
@@ -138,7 +138,7 @@
m_cs = 0 ;
_mode = 0 ;
m_spi.frequency(1000000) ;
-#if defined (TARGET_NUCLEO_F411RE)
+#if defined (TARGET_NUCLEO_F411RE) || defined (TARGET_KL46Z)
m_spi.format(8, 1) ; /* works with st nucleo F411RE */
#else
m_spi.format(8, 0) ; /* works with freescale FRDMs */