Use accessor for new libserialport opaque port structure.

This commit is contained in:
Martin Ling 2013-11-23 20:48:15 +00:00 committed by Uwe Hermann
parent 067b3836b2
commit 3182932d36
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ SR_PRIV int serial_open(struct sr_serial_dev_inst *serial, int flags)
} }
#ifndef _WIN32 #ifndef _WIN32
serial->fd = serial->data->fd; sp_get_port_handle(serial->data, &serial->fd);
#endif #endif
if (serial->serialcomm) if (serial->serialcomm)