WizziLab / Mbed OS D7A_WM_Updater

Dependencies:   modem_ref_helper DebouncedInterrupt

Revision:
2:e0cdfa7d2a8b
Parent:
1:765933092750
Child:
3:a59c8d77006b
--- a/cup.cpp	Wed Oct 26 11:01:26 2016 +0000
+++ b/cup.cpp	Wed Oct 26 11:41:24 2016 +0000
@@ -64,7 +64,7 @@
     }
     
     float time_s = tim.read();
-    PRINT("File[%d] %d bytes written in %.2f sec (%.2f Effective Bps)\r\n", CUP_CODE_FID, this->data_size, time_s, this->data_size/time_s);
+    PRINT("File[%d] %d bytes written in %.2f sec (%.2f kB/s)\r\n", CUP_CODE_FID, this->data_size, time_s, (this->data_size/time_s)/1024.0);
     
     D7A_FLUSH(CUP_CODE_FID, root_key);