Pranav Thakur / Mbed 2 deprecated daplink-validation

Dependencies:   mbed

Fork of daplink-validation by Russ Butler

Files at this revision

API Documentation at this revision

Comitter:
c1728p9
Date:
Mon Apr 10 23:53:19 2017 +0000
Parent:
14:1293f2ed9c63
Commit message:
Increase buffer to 1K to prevent overflow on microbit

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon Apr 10 16:15:01 2017 +0000
+++ b/main.cpp	Mon Apr 10 23:53:19 2017 +0000
@@ -66,7 +66,7 @@
     uint32_t index;
     uint32_t val;
     uint8_t str[64];
-    ByteBuffer buf(512);
+    ByteBuffer buf(1024);
     count = 0;
     index = 0;