Raise info level for overwriting mcuid to MSG_DEBUG

This commit is contained in:
Stefan Rueger 2022-09-11 23:08:48 +01:00
parent 168a8b92e9
commit 7087fd9f3e
No known key found for this signature in database
GPG Key ID: B0B4F1FD86B1EC55
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}