Skip to content

Commit

Permalink
Print device code in avr910.c as unsigned char
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanrueger committed Aug 19, 2022
1 parent a4bfa82 commit 38aa131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/avr910.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ static int avr910_initialize(PROGRAMMER * pgm, AVRPART * p)
break;
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. */

Expand Down

0 comments on commit 38aa131

Please sign in to comment.