Fix linuxspi default port

If no port is specified, Avrdude will try to use the default port specified in avrdude.conf. If not present, use port specified in linuxspi.c
This commit is contained in:
MCUdude
2022-04-10 23:36:53 +02:00
parent 60960ba590
commit 6fceea8f71
6 changed files with 26 additions and 3 deletions

View File

@@ -635,7 +635,8 @@ typedef enum {
typedef enum {
CONNTYPE_PARALLEL,
CONNTYPE_SERIAL,
CONNTYPE_USB
CONNTYPE_USB,
CONNTYPE_SPI
} conntype_t;
typedef struct programmer_t {
@@ -912,6 +913,7 @@ extern LISTID programmers;
extern char default_programmer[];
extern char default_parallel[];
extern char default_serial[];
extern char default_spi[];
extern double default_bitclock;
/* This name is fixed, it's only here for symmetry with