Changeset 382f714 in rtems for c/src/libchip
- Timestamp:
- Oct 8, 2013, 8:40:29 AM (7 years ago)
- Branches:
- 4.11, 5, master
- Children:
- fee154be
- Parents:
- 5ceefe1
- git-author:
- Pavel Pisa <ppisa@…> (10/08/13 08:40:29)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (10/08/13 09:14:03)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/libchip/i2c/spi-sd-card.c
r5ceefe1 r382f714 502 502 { 503 503 int rv = 0; 504 uint8_t crc7; 504 505 505 506 SD_CARD_COMMAND_SET_COMMAND( e->command, SD_CARD_CMD_STOP_TRANSMISSION); 507 SD_CARD_COMMAND_SET_ARGUMENT( e->command, 0); 508 /*crc7 = sd_card_compute_crc7( e->command + 1, 5);*/ 509 crc7 = 0x30; /* Help compiler - command and argument are constants */ 510 SD_CARD_COMMAND_SET_CRC7( e->command, crc7); 506 511 rv = rtems_libi2c_write_bytes( e->bus, e->command, SD_CARD_COMMAND_SIZE); 507 512 RTEMS_CHECK_RV( rv, "Write stop transfer token");
Note: See TracChangeset
for help on using the changeset viewer.