Cart_Reader.ino: Drop redundant initialisation.

`i` is initialised on the previous line, along with its declaration.
This commit is contained in:
Vincent Pelletier 2022-10-22 08:22:37 +00:00
parent 92f8626687
commit 264d83f383

View File

@ -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);