This commit is contained in:
hathach
2019-05-14 11:46:22 +07:00
parent fdc12db431
commit 6135019230
15 changed files with 48 additions and 59 deletions

View File

@@ -80,7 +80,8 @@ static inline uint32_t rdwr10_get_lba(uint8_t const command[])
uint32_t lba;
memcpy(&lba, &p_rdwr10->lba, 4);
return __be2n(lba);
// lba is in Big Endian format
return __be2n(lba);
}
static inline uint16_t rdwr10_get_blockcount(uint8_t const command[])