mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-23 17:46:33 +03:00
make avrftdi_display output not show other interface pins
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user