aboutsummaryrefslogtreecommitdiff
path: root/libraries/EEPROM/examples/eeprom_pointer
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/EEPROM/examples/eeprom_pointer')
-rw-r--r--libraries/EEPROM/examples/eeprom_pointer/eeprom_pointer.ino2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/EEPROM/examples/eeprom_pointer/eeprom_pointer.ino b/libraries/EEPROM/examples/eeprom_pointer/eeprom_pointer.ino
index b56b681..637cdb7 100644
--- a/libraries/EEPROM/examples/eeprom_pointer/eeprom_pointer.ino
+++ b/libraries/EEPROM/examples/eeprom_pointer/eeprom_pointer.ino
@@ -54,7 +54,7 @@ void setup() {
of the C++11 ranged for loop.
***/
- for( EEPtr ptr = EEPROM.begin() ; item != EEPROM.end() ; ++item ){
+ for( EEPtr ptr = EEPROM.begin() ; ptr != EEPROM.end() ; ++ptr ){
Serial.print( *ptr, HEX );
Serial.print( ", " );
}