Skip to content

Commit

Permalink
Merge pull request #579 from Foundation-Devices/SFT-4448-signing-out-…
Browse files Browse the repository at this point in the history
…of-bounds-fix

SFT-4448: signing out of bounds fix
  • Loading branch information
jeandudey authored Nov 25, 2024
2 parents da26263 + 23f0bd6 commit 60a984e
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 60a984e

Please sign in to comment.