Tesi Sitael / Mbed 2 deprecated TGP_SET_GPO_CMD_PASSED

Dependencies:   mbed

Revision:
3:7ae2366ce74c
Parent:
2:ac809f724f60
Child:
4:a5b5809ee14f
--- a/main.cpp	Tue Dec 11 14:30:25 2018 +0000
+++ b/main.cpp	Tue Dec 11 15:37:47 2018 +0000
@@ -149,7 +149,8 @@
         UINT32_PacketSize[i] = A[i];
     }
     
-    ENUM_Packet_ID = B[0];
+    
+    ENUM_Packet_ID = *B;
     
     for(i=0;i<2;i++)
     {
@@ -171,7 +172,7 @@
             pc.printf("%c",UINT32_PacketSize[i]);
         }
         
-    pc.printf("%c",&ENUM_Packet_ID);
+    pc.printf("%c",ENUM_Packet_ID);
     
     for(i=0; i<2; i++){
             pc.printf("%c",UINT16_PacketCounter[i]);