s/\bconntype_t\b/Conntype/g

This commit is contained in:
Stefan Rueger
2024-05-20 01:05:57 +01:00
parent cd90f3c958
commit 564b95e6f9
2 changed files with 3 additions and 3 deletions

View File

@@ -1175,7 +1175,7 @@ static void dev_pgm_raw(const PROGRAMMER *pgm) {
}
static const char *connstr(conntype_t conntype) {
static const char *connstr(Conntype conntype) {
switch(conntype) {
case CONNTYPE_LINUXGPIO: return "linuxgpio";
case CONNTYPE_PARALLEL: return "parallel";

View File

@@ -905,7 +905,7 @@ typedef enum {
CONNTYPE_USB,
CONNTYPE_SPI,
CONNTYPE_LINUXGPIO
} conntype_t;
} Conntype;
#define LED_N 4 // Max number of LEDs driven by programmers
@@ -944,7 +944,7 @@ typedef struct programmer {
int is_serialadapter; // Programmer is also a serialadapter
int extra_features;
struct pindef pin[N_PINS];
conntype_t conntype;
Conntype conntype;
int baudrate;
int usbvid;
LISTID usbpid;