mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-27 14:35:27 +00:00
Change unsigned short eecr; to unsigned char eecr; in libavrdude's AVRPART
This commit is contained in:
@@ -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", idr);
|
||||||
_if_partout(intcmp, "0x%02x", rampz);
|
_if_partout(intcmp, "0x%02x", rampz);
|
||||||
_if_partout(intcmp, "0x%02x", spmcr);
|
_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", mcu_base);
|
||||||
_if_partout(intcmp, "0x%04x", nvm_base);
|
_if_partout(intcmp, "0x%04x", nvm_base);
|
||||||
_if_partout(intcmp, "0x%04x", ocd_base);
|
_if_partout(intcmp, "0x%04x", ocd_base);
|
||||||
|
@@ -270,7 +270,7 @@ typedef struct avrpart {
|
|||||||
unsigned char idr; /* JTAG ICE mkII XML file parameter */
|
unsigned char idr; /* JTAG ICE mkII XML file parameter */
|
||||||
unsigned char rampz; /* JTAG ICE mkII XML file parameter */
|
unsigned char rampz; /* JTAG ICE mkII XML file parameter */
|
||||||
unsigned char spmcr; /* JTAG ICE mkII XML file parameter */
|
unsigned char spmcr; /* JTAG ICE mkII XML file parameter */
|
||||||
unsigned short eecr; /* JTAC ICE mkII XML file parameter */
|
unsigned char eecr; /* JTAC ICE mkII XML file parameter */
|
||||||
unsigned int mcu_base; /* Base address of MCU control block in ATxmega devices */
|
unsigned int mcu_base; /* Base address of MCU control block in ATxmega devices */
|
||||||
unsigned int nvm_base; /* Base address of NVM controller in ATxmega devices */
|
unsigned int nvm_base; /* Base address of NVM controller in ATxmega devices */
|
||||||
unsigned int ocd_base; /* Base address of OCD module in AVR8X/UPDI devices */
|
unsigned int ocd_base; /* Base address of OCD module in AVR8X/UPDI devices */
|
||||||
|
Reference in New Issue
Block a user