ble transmitter

Dependencies:   mbed BLE_API nRF51822

Revision:
6:f0984541d764
Parent:
5:c7bbaa34373a
Child:
7:1e93ff891703
--- a/transmitter_main.cpp	Wed Apr 17 21:12:57 2019 +0000
+++ b/transmitter_main.cpp	Wed Apr 17 21:16:55 2019 +0000
@@ -31,7 +31,7 @@
     static Packet p;
     ble.gap().updateAdvertisingPayload(GapAdvertisingData::MANUFACTURER_SPECIFIC_DATA, (uint8_t *)&p, sizeof(p));
     (p.seqNum)++;
-    pc.printf("seq_num: %s" to_string(p.seqNum));
+    pc.printf("seq_num: %d", p.seqNum);
 }
 
 void periodicCallback(void)