Permalink
Browse files

Fixed sector id (the at45db161D only has 16 sectors).

  • Loading branch information...
1 parent d1f419a commit 86d492963821954e159de1901570d27a48d2f49e @BlockoS committed Sep 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/sectorErase/sectorErase.pde
@@ -168,7 +168,7 @@ void setup()
res += testSectorErase(AT45_SECTOR_0A);
res += testSectorErase(AT45_SECTOR_0B);
- for(uint8_t i=75; i<79; i++)
+ for(uint8_t i=10; i<14; i++)
{
res += testSectorErase(i);
}

0 comments on commit 86d4929

Please sign in to comment.