make avrftdi_display output not show other interface pins

This commit is contained in:
Jeff Kent
2023-03-20 20:21:53 -05:00
parent 366467b750
commit 4cf8f296cc

View File

@@ -924,7 +924,11 @@ static int avrftdi_initialize(const PROGRAMMER *pgm, const AVRPART *p) {
static void avrftdi_display(const PROGRAMMER *pgm, const char *p)
{
msg_info("%sPin assignment : 0..7 = DBUS0..7, 8..15 = CBUS0..7\n", p);
pgm_display_generic_mask(pgm, p, SHOW_ALL_PINS);
if (pgm->flag & PGM_FL_IS_JTAG) {
pgm_display_generic_mask(pgm, p, SHOW_ALL_PINS & ~SHOW_AVR_PINS);
} else {
pgm_display_generic_mask(pgm, p, SHOW_ALL_PINS & ~SHOW_JTAG_PINS);
}
}