CEBF746 Module.. with TPM

Dependencies:   cube_CEBF746 cube_crypto cube_crc_16

Files at this revision

API Documentation at this revision

Comitter:
gandol2
Date:
Mon Oct 24 00:25:24 2016 +0000
Parent:
8:e20fe81cddbb
Commit message:
commit mbed

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r e20fe81cddbb -r 43c097befe90 main.cpp
--- a/main.cpp	Thu Oct 20 13:14:43 2016 +0000
+++ b/main.cpp	Mon Oct 24 00:25:24 2016 +0000
@@ -239,10 +239,7 @@
  */
 int main()
 {
-    sec_spi_data tempConvertStruct;
-    uint8_t spiMOSIBuf[255];
-    uint8_t spiMISOBuf[255];
-    
+    sec_spi_data tempConvertStruct;   
     
 
     uint8_t  spiRxTempBuf = 0;
@@ -269,8 +266,7 @@
     while(1);
 #endif /* SPI_INTERRUPT */
 
-    memset(spiMISOBuf, 0, 255);
-    memset(spiMOSIBuf, 0, 255);
+    
     while(1)
     {
         pc_serial.printf("\n\nwaiting CEBF746 cmd...\n");