From 7087fd9f3e403514ccedc36588df26280dad01da Mon Sep 17 00:00:00 2001 From: Stefan Rueger Date: Sun, 11 Sep 2022 23:08:48 +0100 Subject: [PATCH] Raise info level for overwriting mcuid to MSG_DEBUG --- src/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.c b/src/config.c index 0d5242b3..1c855ffe 100644 --- a/src/config.c +++ b/src/config.c @@ -854,7 +854,7 @@ void cfg_update_mcuid(AVRPART *part) { for(int i=0; i < sizeof uP_table/sizeof *uP_table; i++) { if(strcasecmp(part->desc, uP_table[i].name) == 0) { 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); part->mcuid = uP_table[i].mcuid; }