(fixed small error; oops)
parent
f90d02f9c3
commit
6a4d062f7d
|
@ -380,7 +380,7 @@ static void write_queued(void) {
|
|||
// copy 1 byte
|
||||
write( next_write.to, eeprom__read( (uint8_t *) next_copy.from ) );
|
||||
// prepare for the next
|
||||
if (next_write.to < next_write.from) {
|
||||
if (next_write.to < next_copy.from) {
|
||||
++(next_write.to);
|
||||
++(next_copy.from);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue