We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8dd8acb + 950807a commit 1e8611dCopy full SHA for 1e8611d
1 file changed
src/sdcard/spi.rs
@@ -475,7 +475,7 @@ where
475
arg as u8,
476
0,
477
];
478
- buf[5] = crc7(&buf[0..5]);
+ buf[5] = (crc7(&buf[0..5]) << 1) | 1;
479
480
self.write_bytes(&buf)?;
481
@@ -503,7 +503,7 @@ where
503
504
505
506
507
508
509
0 commit comments