Revision fb5a5c5b
Host/Source/SerialBoot/main.c | ||
---|---|---|
406 | 406 |
} else { |
407 | 407 |
flashingTargetID = strtoul(choosenID, NULL, 10); |
408 | 408 |
} |
409 |
if (flashingTargetID == 0) { |
|
410 |
printf("target ID invalid (0x%08X)\n", flashingTargetID); |
|
411 |
return SB_FALSE; |
|
412 |
} |
|
409 | 413 |
flashingTargetIDs[countFlashingPrograms] = flashingTargetID; |
410 | 414 |
} |
411 | 415 |
/* is this a srec file (a parameter without "-" in the beginning) */ |
Also available in: Unified diff