fix msc block count get

This commit is contained in:
hathach 2018-06-21 12:20:21 +07:00
parent a6a06bca69
commit 5f1bec943b
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ static inline uint16_t rdwr10_get_blockcount(uint8_t const command[])
uint16_t block_count;
memcpy(&block_count, &p_rdwr10->block_count, 2);
return __be2n(block_count);
return __be2n_16(block_count);
}