diff options
author | Lutz Mueller <lutz@users.sourceforge.net> | 2001-10-27 07:57:12 +0000 |
---|---|---|
committer | Lutz Mueller <lutz@users.sourceforge.net> | 2001-10-27 07:57:12 +0000 |
commit | 9e7e26900021484bd075c787a167b1d6bb9af22d (patch) | |
tree | 3e4908466789faf8ccfc17dc341ac6f0881727ea /libgphoto2_port/test | |
parent | f47755c018431ea70771522cad2aa357e711787b (diff) | |
download | libgphoto2-9e7e26900021484bd075c787a167b1d6bb9af22d.tar.gz |
2001-10-27 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2: Updated documentation
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2785 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2_port/test')
-rw-r--r-- | libgphoto2_port/test/test-gp-port.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libgphoto2_port/test/test-gp-port.c b/libgphoto2_port/test/test-gp-port.c index 7d6d18ce3..8fc3210b0 100644 --- a/libgphoto2_port/test/test-gp-port.c +++ b/libgphoto2_port/test/test-gp-port.c @@ -32,7 +32,7 @@ main (int argc, char **argv) settings.serial.parity = 0; settings.serial.stopbits = 1; - ret = gp_port_settings_set (dev, settings); + ret = gp_port_set_settings (dev, settings); if (ret < 0) { printf ("Could not set settings: %s\n", gp_port_result_as_string (ret)); @@ -46,9 +46,9 @@ main (int argc, char **argv) exit (1); } - gp_port_settings_get(dev, &settings); + gp_port_get_settings(dev, &settings); settings.serial.speed = 57600; - gp_port_settings_set(dev, settings); + gp_port_set_settings(dev, settings); //printf("CTS: %i", gp_port_pin_get( dev, PIN_CTS, LOW ) ); |