mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-11 07:25:07 +01:00
Cart_Reader.ino: Drop redundant initialisation.
`i` is initialised on the previous line, along with its declaration.
This commit is contained in:
parent
92f8626687
commit
264d83f383
@ -1998,7 +1998,7 @@ void save_log() {
|
||||
myFile.write(sdBuffer, 512);
|
||||
} else {
|
||||
word i = 0;
|
||||
for (i = 0; i < myLog.available(); i++) {
|
||||
for (; i < myLog.available(); i++) {
|
||||
sdBuffer[i] = myLog.read();
|
||||
}
|
||||
myFile.write(sdBuffer, i);
|
||||
|
Loading…
Reference in New Issue
Block a user