diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-12-14 04:17:00 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-12-14 04:17:00 +0100 |
commit | 72fc5fa9be55ffab0e009085b05a3cad0b077826 (patch) | |
tree | dc2bedba961e9577aec6717f17a7fd10e2d2fbd9 /event.c | |
parent | a5814c8d0bf5255a6f2deba41db9733c6d524ad1 (diff) | |
download | ipecamera-72fc5fa9be55ffab0e009085b05a3cad0b077826.tar.gz ipecamera-72fc5fa9be55ffab0e009085b05a3cad0b077826.tar.bz2 ipecamera-72fc5fa9be55ffab0e009085b05a3cad0b077826.tar.xz ipecamera-72fc5fa9be55ffab0e009085b05a3cad0b077826.zip |
small cleanup
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -121,6 +121,15 @@ int pcilib_configure_autostop(pcilib_t *ctx, size_t max_events, pcilib_timeout_t return 0; } +int pcilib_configure_autotrigger(pcilib_t *ctx, pcilib_timeout_t interval, pcilib_event_t event, size_t trigger_size, void *trigger_data) { + /* To support hardware without autotriggering, we need to provide in event.c a code + to generate multiple triggers in a thread (available in cli). The function should + be re-enabled afterwards: just set parameters and let implementation decide if it + can make triggering in hardware or will use our emulation */ + + return PCILIB_ERROR_NOTSUPPORTED; +} + int pcilib_configure_preprocessing_threads(pcilib_t *ctx, size_t max_threads) { pcilib_event_api_description_t *api; |