Avoid the warning: enumeration value ‘CONNTYPE_SPI’ not handled in switch
This commit is contained in:
parent
87401d341e
commit
0e7c1512e4
|
@ -852,11 +852,11 @@ int main(int argc, char * argv [])
|
|||
port = DEFAULT_USB;
|
||||
break;
|
||||
|
||||
#ifdef HAVE_LINUXSPI
|
||||
case CONNTYPE_SPI:
|
||||
#ifdef HAVE_LINUXSPI
|
||||
port = *default_spi? default_spi: "unknown";
|
||||
break;
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue