comparison flash.c @ 71:778adff8b569

Comment out debug message.
author Daniel O'Connor <darius@dons.net.au>
date Sun, 14 Apr 2013 22:54:10 +0930
parents aaf0603d7f88
children 85f16813c730
comparison
equal deleted inserted replaced
70:aaf0603d7f88 71:778adff8b569
387 int 387 int
388 flashwriteblock(uint32_t addr, uint32_t len, void *_data) { 388 flashwriteblock(uint32_t addr, uint32_t len, void *_data) {
389 uint16_t *data = _data; 389 uint16_t *data = _data;
390 uint32_t crc, vcrc; 390 uint32_t crc, vcrc;
391 391
392 printf("Writing %u bytes to 0x%06x\r\n", (uint)len, (uint)addr); 392 //printf("Writing %u bytes to 0x%06x\r\n", (uint)len, (uint)addr);
393 393
394 /* Ensure data is 394 /* Ensure data is
395 * - 16 bit aligned 395 * - 16 bit aligned
396 * - a multiple of 32 bits in length (for CRCs, the flash only need 16 bits) 396 * - a multiple of 32 bits in length (for CRCs, the flash only need 16 bits)
397 * - not longer than a sector 397 * - not longer than a sector