Change unsigned short eecr; to unsigned char eecr; in libavrdude's AVRPART

This commit is contained in:
Stefan Rueger
2022-08-09 13:19:40 +01:00
parent 7c8d336e27
commit 8a717987ec
2 changed files with 2 additions and 2 deletions

View File

@@ -533,7 +533,7 @@ static void dev_part_strct(AVRPART *p, bool tsv, AVRPART *base) {
_if_partout(intcmp, "0x%02x", idr);
_if_partout(intcmp, "0x%02x", rampz);
_if_partout(intcmp, "0x%02x", spmcr);
_if_partout(intcmp, "0x%02x", eecr); // Why is eecr an unsigned short?
_if_partout(intcmp, "0x%02x", eecr);
_if_partout(intcmp, "0x%04x", mcu_base);
_if_partout(intcmp, "0x%04x", nvm_base);
_if_partout(intcmp, "0x%04x", ocd_base);