vnc: avoid using internal details of libfxlink structures
This commit is contained in:
parent
69e6445d93
commit
e4766ba89e
|
@ -305,9 +305,9 @@ void monitor_update(struct monitor *mon, int mon_id)
|
|||
struct fxlink_device *fdev = &app.devices.devices[i];
|
||||
char const *id = fxlink_device_id(fdev);
|
||||
|
||||
if(fdev->status != FXLINK_FDEV_STATUS_IDLE || !fdev->comm)
|
||||
if(!fxlink_device_ready_to_connect(fdev))
|
||||
continue;
|
||||
if(fdev->comm->ep_bulk_IN == 0xff) {
|
||||
if(!fxlink_device_has_fxlink_interface(fdev)) {
|
||||
hlog("cgvm");
|
||||
log_("ignoring %s: no fxlink interface\n", id);
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue