projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactoring code. Redefined TagPacket struct and keytag_init to support the new imple...
[bertos.git]
/
bertos
/
drv
/
flash25.c
diff --git
a/bertos/drv/flash25.c
b/bertos/drv/flash25.c
index 9dbcc49e72cc7aa7425cc4a24d8b6cc292aa0925..e2356bdf7d0c1d32398e7d8ef529abba0eccb1a3 100644
(file)
--- a/
bertos/drv/flash25.c
+++ b/
bertos/drv/flash25.c
@@
-282,7
+282,7
@@
static size_t flash25_write(struct KFile *_fd, const void *_buf, size_t size)
total_write += wr_len;
}
total_write += wr_len;
}
- kprintf("written %u bytes\n", total_write);
+ kprintf("written %
l
u bytes\n", total_write);
return total_write;
}
return total_write;
}
@@
-330,7
+330,7
@@
void flash25_sectorErase(KFileFlash25 *fd, Flash25Sector sector)
*/
flash25_waitReady(fd);
*/
flash25_waitReady(fd);
- DB(kprintf("Erased sector [%d] in %d ms\n", sector, ticks_to_ms(timer_clock() - start_time)));
+ DB(kprintf("Erased sector [%
l
d] in %d ms\n", sector, ticks_to_ms(timer_clock() - start_time)));
}
}
@@
-364,7
+364,7
@@
void flash25_chipErase(KFileFlash25 *fd)
*/
flash25_waitReady(fd);
*/
flash25_waitReady(fd);
- DB(kprintf("Erased all memory in %d ms\n", ticks_to_ms(timer_clock() - start_time)));
+ DB(kprintf("Erased all memory in %
l
d ms\n", ticks_to_ms(timer_clock() - start_time)));
}
}