Changeset 279 for trunk/softs/tsar_boot/io_drivers/ioc.c
- Timestamp:
- Dec 5, 2012, 6:55:07 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/tsar_boot/io_drivers/ioc.c
r276 r279 306 306 sdcard_dev_lseek(&_sdcard_device, lba); 307 307 308 if (( sdcard_rsp = sdcard_dev_read (&_sdcard_device, buffer, count*512) )) 308 unsigned int i; 309 for(i = 0; i < count; i++) 309 310 { 310 boot_puts(error_read); 311 boot_putx(sdcard_rsp); 312 boot_puts(end_line); 313 } 311 if (( sdcard_rsp = sdcard_dev_read ( 312 &_sdcard_device, 313 (unsigned char *) buffer + (512 * i), 314 512 315 ) 316 )) 317 { 318 boot_puts(error_read); 319 boot_putx(sdcard_rsp); 320 boot_puts(end_line); 321 322 return 1; 323 } 324 } 314 325 315 326 #endif
Note: See TracChangeset
for help on using the changeset viewer.