Skip to content

Commit

Permalink
SFT-4448: fixed redundant storage check indices
Browse files Browse the repository at this point in the history
  • Loading branch information
mjg-foundation committed Nov 23, 2024
1 parent da26263 commit 23f0bd6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ impl<S: ReadNorFlash, const N: usize, const QUORUM: usize> ReadNorFlash
num_reads += 1;

if num_reads >= QUORUM {
for i in 0..QUORUM {
for i in 0..(QUORUM - 1) {
if self.buffers[i] != self.buffers[i + 1] {
retry = true;
}
Expand Down

0 comments on commit 23f0bd6

Please sign in to comment.