mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2026-11-17 10:35:41 +00:00
Ensure +0x...f does not strip suffix f in terminal write
This commit is contained in:
1 parent
360d7c502b
commit
39a00bc71e
1 file changed
+1
-1
+1
-1
@@ -447,7 +447,7 @@ static int cmd_write(PROGRAMMER * pgm, struct avrpart * p,
|
||||
argi[--arglen] = '\0';
|
||||
data.size = 4;
|
||||
} else if ((suffix == 'F') &&
|
||||
strncmp(argi, "0x", 2) != 0 && strncmp(argi, "-0x", 3) != 0) {
|
||||
strncmp(argi, "0x", 2) && strncmp(argi, "-0x", 3) && strncmp(argi, "+0x", 3)) {
|
||||
argi[--arglen] = '\0';
|
||||
data.size = 4;
|
||||
} else if (suffix == 'H' && lsuffix == 'H') {
|
||||
|
||||
Reference in new issue
Block a user