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: MbedJSONValue mbed mtsas
Fork of UUU_MultiTech_Dragonfly_Sprint by
Diff: main.cpp
- Revision:
- 11:d2ac3fa6f2d3
- Parent:
- 10:1c44f9375dd2
- Child:
- 12:9942995476ef
--- a/main.cpp Tue Apr 19 14:15:07 2016 +0000
+++ b/main.cpp Tue Apr 19 14:21:51 2016 +0000
@@ -408,6 +408,7 @@
std::string sensor_data_str = patch::to_string(sensor_data);
logDebug("Sensor data string: %s",sensor_data_str.c_str());
+ http_tx.clear();
http_tx.put("ALS", sensor_data_str.c_str());
// Make HTTP POST request
