Set timeout of port.
Definition at line 503 of file gphoto2-port.c. References CHECK_NULL, gp_log(), GP_LOG_DEBUG, GP_OK, and _GPPort::timeout. Referenced by camera_init(), gp_port_set_info(), and gp_port_timeout_set(). { gp_log (GP_LOG_DEBUG, "gphoto2-port", _("Setting timeout to %i " "millisecond(s)..."), timeout); CHECK_NULL (port); port->timeout = timeout; return GP_OK; }
|