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.
Fork of Task690-mbed-os-FZ429ZI by
Revision 4:04cd5171c7ff, committed 2017-11-23
- Comitter:
- noutram
- Date:
- Thu Nov 23 14:03:12 2017 +0000
- Parent:
- 3:22e5460a8b42
- Child:
- 5:cc1b9f5c27a0
- Commit message:
- Removed unnecessary comments
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Nov 23 10:54:42 2017 +0000
+++ b/main.cpp Thu Nov 23 14:03:12 2017 +0000
@@ -77,32 +77,3 @@
wait(0.1);
}
}
-
- /*
- printf("sd size: %llu\n", sd.size());
- printf("sd read size: %llu\n", sd.get_read_size());
- printf("sd program size: %llu\n", sd.get_program_size());
- printf("sd erase size: %llu\n", sd.get_erase_size());
-
- // set the frequency
- if ( 0 != sd.frequency(5000000)) {
- printf("Error setting frequency \n");
- }
-
- if ( 0 != sd.erase(0, sd.get_erase_size())) {
- printf("Error Erasing block \n");
- }
-
- // Write some the data block to the device
- if ( 0 == sd.program(block, 0, 512)) {
- // read the data block from the device
- if ( 0 == sd.read(block, 0, 512)) {
- // print the contents of the block
- printf("%s", block);
- }
- }
-
- // call the SDBlockDevice instance de-initialisation method.
-
- sd.deinit();
- */
\ No newline at end of file
