level in canon_serial_get_cts is of type GPLevel and not int now
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3565 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
@@ -105,7 +105,7 @@ canon_serial_change_speed (GPPort *gdev, int speed)
|
||||
int
|
||||
canon_serial_get_cts (GPPort *gdev)
|
||||
{
|
||||
int level;
|
||||
GPLevel level;
|
||||
|
||||
gp_port_get_pin (gdev, PIN_CTS, &level);
|
||||
return (level);
|
||||
|
||||
Reference in New Issue
Block a user