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:
Philippe Marzouk
2001-12-22 09:20:41 +00:00
parent 270311aa0f
commit 042b1fcb40

View File

@@ -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);