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()
590590//  is used but at the upper end of the address bits (so instead of A2/A1/A0 it's B0/A1/A0).
591591uint32_t  ExternalEEPROM::detectMemorySizeBytes ()
592592{
593-     uint8_t  i2cAddress = settings.deviceAddress ;
594- 
595593    //  We do a read-write-read-write to test.
596594    uint32_t  testLocation = (128  / 8 ) - 1 ; //  Start at the last spot of the smallest EEPROM
597595    uint32_t  lastGoodLocation = 0 ;
@@ -623,8 +621,6 @@ uint32_t ExternalEEPROM::detectMemorySizeBytes()
623621    //  4 Check value at next threshold. If it was changed then we know the address we wrote was wrapped.
624622    //  5 Return memory spot to its original value
625623
626-     int  loopCount = 1 ;
627- 
628624    while  (1 )
629625    {
630626        //  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