operations: Remove network connection method
This commit is contained in:
1 parent
cc8cca84ef
commit
09a6405501
2 files changed
-4
No files matched your search
@@ -75,8 +75,6 @@ struct device_info * dev_detect(void) {
|
||||
return dev;
|
||||
}
|
||||
|
||||
/* TODO: NETWORK */
|
||||
|
||||
clean:
|
||||
usb_close_device(usb);
|
||||
free(dev);
|
||||
|
||||
@@ -27,14 +27,12 @@ enum connection_method {
|
||||
METHOD_UNKNOWN = 0,
|
||||
METHOD_USB,
|
||||
METHOD_LOCAL,
|
||||
METHOD_NETWORK,
|
||||
};
|
||||
|
||||
struct device_info {
|
||||
enum connection_method method;
|
||||
enum device detected_device;
|
||||
int16_t detected_hwrev;
|
||||
/* TODO: use union */
|
||||
struct usb_device_info * usb;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user