diff options
Diffstat (limited to 'firmware/hotswap.c')
-rw-r--r-- | firmware/hotswap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/hotswap.c b/firmware/hotswap.c index ec298f7243..79595e4591 100644 --- a/firmware/hotswap.c +++ b/firmware/hotswap.c | |||
@@ -36,7 +36,7 @@ unsigned long card_extract_bits( | |||
36 | unsigned int long_index, bit_index; | 36 | unsigned int long_index, bit_index; |
37 | unsigned long result; | 37 | unsigned long result; |
38 | 38 | ||
39 | /* we assume words of CSD/CID are stored least significant word first */ | 39 | /* we assume words of CSD/CID are stored most significant word first */ |
40 | start = 127 - start; | 40 | start = 127 - start; |
41 | 41 | ||
42 | long_index = start / 32; | 42 | long_index = start / 32; |