diff options
| author | hathach <[email protected]> | 2019-05-14 11:46:22 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-05-14 11:46:22 +0700 |
| commit | 6135019230dd5e6c1c8cb17c83d20fabb500228d (patch) | |
| tree | a91e4a8bbd3e32d17b3c153afcf3d5df2176ace4 /src/class/msc | |
| parent | fdc12db431c568ff4f3ff309f84f72c5d8475b2a (diff) | |
clean up
Diffstat (limited to 'src/class/msc')
| -rw-r--r-- | src/class/msc/msc_device.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/class/msc/msc_device.c b/src/class/msc/msc_device.c index c486d5e04..a07c926d7 100644 --- a/src/class/msc/msc_device.c +++ b/src/class/msc/msc_device.c @@ -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[])
|
