bosko lekovic
/
ETHtoCOM_10
nova verzija tcp+udp->serial com
Diff: DataFlash/flashDataBlock.cpp
- Revision:
- 13:03617f6ed112
- Parent:
- 12:cbfc10c15437
- Child:
- 22:11279d24a105
diff -r cbfc10c15437 -r 03617f6ed112 DataFlash/flashDataBlock.cpp --- a/DataFlash/flashDataBlock.cpp Fri May 01 23:15:28 2020 +0000 +++ b/DataFlash/flashDataBlock.cpp Sat May 02 23:54:44 2020 +0200 @@ -24,10 +24,10 @@ int err = bd.init(); printf("init err=%d \n\r", err); - printf("Flash block device size: %llu\n\r", device_size = bd.size()); - printf("Flash block device read size: %llu\n\r", read_size = bd.get_read_size()); - printf("Flash block device program size: %llu\n\r", program_size = bd.get_program_size()); - printf("Flash block device erase size: %llu\n\r", erase_size = bd.get_erase_size()); + printf("Flash block device size: %x\n\r", device_size = bd.size()); + printf("Flash block device read size: %x\n\r", read_size = bd.get_read_size()); + printf("Flash block device program size: %x\n\r", program_size = bd.get_program_size()); + printf("Flash block device erase size: %x\n\r", erase_size = bd.get_erase_size()); printf("Flash block device geterase value: %x\n\r", erase_value = bd.get_erase_value()); if( bd.is_valid_read( 0, bd.get_read_size() ) ) printf(" read valid \n\r");