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: modem_ref_helper DebouncedInterrupt
Diff: cup.cpp
- 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);