mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-28 15:05:27 +00:00
Raise info level for overwriting mcuid to MSG_DEBUG
This commit is contained in:
@@ -854,7 +854,7 @@ void cfg_update_mcuid(AVRPART *part) {
|
|||||||
for(int i=0; i < sizeof uP_table/sizeof *uP_table; i++) {
|
for(int i=0; i < sizeof uP_table/sizeof *uP_table; i++) {
|
||||||
if(strcasecmp(part->desc, uP_table[i].name) == 0) {
|
if(strcasecmp(part->desc, uP_table[i].name) == 0) {
|
||||||
if(part->mcuid != (int) uP_table[i].mcuid) {
|
if(part->mcuid != (int) uP_table[i].mcuid) {
|
||||||
if(part->mcuid >= 0)
|
if(part->mcuid >= 0 && verbose >= MSG_DEBUG)
|
||||||
yywarning("overwriting mcuid of part %s to be %d", part->desc, uP_table[i].mcuid);
|
yywarning("overwriting mcuid of part %s to be %d", part->desc, uP_table[i].mcuid);
|
||||||
part->mcuid = uP_table[i].mcuid;
|
part->mcuid = uP_table[i].mcuid;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user