File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -590,8 +590,6 @@ uint16_t ExternalEEPROM::detectPageSizeBytes()
590
590
// is used but at the upper end of the address bits (so instead of A2/A1/A0 it's B0/A1/A0).
591
591
uint32_t ExternalEEPROM::detectMemorySizeBytes ()
592
592
{
593
- uint8_t i2cAddress = settings.deviceAddress ;
594
-
595
593
// We do a read-write-read-write to test.
596
594
uint32_t testLocation = (128 / 8 ) - 1 ; // Start at the last spot of the smallest EEPROM
597
595
uint32_t lastGoodLocation = 0 ;
@@ -623,8 +621,6 @@ uint32_t ExternalEEPROM::detectMemorySizeBytes()
623
621
// 4 Check value at next threshold. If it was changed then we know the address we wrote was wrapped.
624
622
// 5 Return memory spot to its original value
625
623
626
- int loopCount = 1 ;
627
-
628
624
while (1 )
629
625
{
630
626
// We must set our memory size to the next size up so that write sets the correct bits
You can’t perform that action at this time.
0 commit comments