ADD TARGET_NUCLEO_F446ZE

Dependents:   FRDM_MFRC522

Fork of MFRC522 by Martin Olejar

Revision:
2:1afff2a563ca
Parent:
1:63d729186747
--- a/MFRC522.cpp	Mon Jan 06 15:00:15 2014 +0000
+++ b/MFRC522.cpp	Fri Oct 21 13:31:31 2016 +0000
@@ -55,7 +55,11 @@
 {
   /* Configure SPI bus */
   m_SPI.format(8, 0);
+#if defined(TARGET_NUCLEO_F446ZE)
+  m_SPI.frequency(20000000);
+#else
   m_SPI.frequency(8000000);
+#endif
 
   /* Release SPI-CS pin */
   m_CS       = 1;