(fixed small error; oops)

partial-rewrite
Ben Blazak 2013-07-25 15:43:15 -07:00
parent f90d02f9c3
commit 6a4d062f7d
1 changed files with 1 additions and 1 deletions

View File

@ -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 {