Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: main.cpp
- 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]);