1
0
mirror of https://github.com/marqs85/ossc.git synced 2026-04-20 13:16:50 +00:00

Improve SD card IO.

This commit is contained in:
marqs
2016-10-27 01:08:23 +03:00
parent f55e9a877e
commit 611c8763c2
12 changed files with 719 additions and 704 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ int check_flash()
if ((epcq_controller_dev == NULL) || !(epcq_controller_dev->is_epcs && (epcq_controller_dev->page_size == PAGESIZE)))
return -1;
printf("Flash size in bytes: %d\nSector size: %d (%d pages)\nPage size: %d\n",
printf("Flash size in bytes: %lu\nSector size: %lu (%lu pages)\nPage size: %lu\n",
epcq_controller_dev->size_in_bytes, epcq_controller_dev->sector_size, epcq_controller_dev->sector_size/epcq_controller_dev->page_size, epcq_controller_dev->page_size);
return 0;