Skip to content

Commit

Permalink
Print warning when avrdude and avrdude.conf versions doesn't match (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
MCUdude committed Nov 13, 2023
1 parent 71bf4f7 commit ce59853
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1012,6 +1012,11 @@ int main(int argc, char * argv [])
}
}

if(!str_eq(avrdude_conf_version, version)) {
pmsg_warning("System wide configuration file version (%s)\n", avrdude_conf_version);
imsg_warning("does not match Avrdude build version (%s)\n", version);
}

if (lsize(additional_config_files) > 0) {
LNODEID ln1;
const char * p = NULL;
Expand Down

0 comments on commit ce59853

Please sign in to comment.