diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-10-09 14:35:06 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-10-09 14:35:06 +0200 |
commit | 805129cf7452e37c6d1042a87fadd297098fac9c (patch) | |
tree | 86208942d470786da52454b70d5f544793613c6f /plugins/pco/uca-pco-camera.h | |
parent | 21bce1b4a01ff6735325457297aa9bd8fcdebe8f (diff) | |
download | uca-805129cf7452e37c6d1042a87fadd297098fac9c.tar.gz uca-805129cf7452e37c6d1042a87fadd297098fac9c.tar.bz2 uca-805129cf7452e37c6d1042a87fadd297098fac9c.tar.xz uca-805129cf7452e37c6d1042a87fadd297098fac9c.zip |
Fix #149: Make timestamp mode an enum
Diffstat (limited to 'plugins/pco/uca-pco-camera.h')
-rw-r--r-- | plugins/pco/uca-pco-camera.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/pco/uca-pco-camera.h b/plugins/pco/uca-pco-camera.h index 73ae44e..d134fb1 100644 --- a/plugins/pco/uca-pco-camera.h +++ b/plugins/pco/uca-pco-camera.h @@ -55,9 +55,10 @@ typedef enum { } UcaPcoCameraAcquireMode; typedef enum { - UCA_PCO_CAMERA_TIMESTAMP_NONE = 0, - UCA_PCO_CAMERA_TIMESTAMP_BINARY = 1 << 0, - UCA_PCO_CAMERA_TIMESTAMP_ASCII = 1 << 1 + UCA_PCO_CAMERA_TIMESTAMP_NONE, + UCA_PCO_CAMERA_TIMESTAMP_BINARY, + UCA_PCO_CAMERA_TIMESTAMP_ASCII, + UCA_PCO_CAMERA_TIMESTAMP_BOTH } UcaPcoCameraTimestamp; /** |