mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-14 17:58:05 +00:00
Print device code in avr910.c as unsigned char
This commit is contained in:
@@ -234,7 +234,7 @@ static int avr910_initialize(PROGRAMMER * pgm, AVRPART * p)
|
|||||||
break;
|
break;
|
||||||
part = locate_part_by_avr910_devcode(part_list, c);
|
part = locate_part_by_avr910_devcode(part_list, c);
|
||||||
|
|
||||||
avrdude_message(MSG_INFO, " Device code: 0x%02x = %s\n", c, part ? part->desc : "(unknown)");
|
avrdude_message(MSG_INFO, " Device code: 0x%02x = %s\n", c & 0xff, part? part->desc: "(unknown)");
|
||||||
|
|
||||||
/* FIXME: Need to lookup devcode and report the device. */
|
/* FIXME: Need to lookup devcode and report the device. */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user