mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-27 14:35:27 +00:00
Fix terminal write bug
Wouldn't write data properly after an integer >= 2 bytes was written
This commit is contained in:
@@ -410,7 +410,7 @@ static int cmd_write(PROGRAMMER * pgm, struct avrpart * p,
|
||||
};
|
||||
} data = {.bytes_grown = 0, .size = 0, .is_float = false, .ll = 0, .is_signed = false};
|
||||
|
||||
for (i = start_offset; i < len + start_offset - data.bytes_grown; i++) {
|
||||
for (i = start_offset; i < len + start_offset; i++) {
|
||||
data.is_float = false;
|
||||
data.size = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user