Skip to content

Commit

Permalink
python: Keep channel types and modifiers in sync
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Nechita <[email protected]>
  • Loading branch information
dNechita authored and cristina-suteu committed Jan 29, 2025
1 parent 2398bbd commit 7dc8952
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions bindings/python/iio.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,14 @@ class ChannelModifier(Enum):
IIO_MOD_ETHANOL = 42
IIO_MOD_H2 = 43
IIO_MOD_O2 = 44
IIO_MOD_LINEAR_X = 45
IIO_MOD_LINEAR_Y = 46
IIO_MOD_LINEAR_Z = 47
IIO_MOD_PITCH = 48
IIO_MOD_YAW = 49
IIO_MOD_ROLL = 50
IIO_MOD_LIGHT_UVA = 51
IIO_MOD_LIGHT_UVB = 52


class ChannelType(Enum):
Expand Down Expand Up @@ -276,6 +284,11 @@ class ChannelType(Enum):
IIO_POSITIONRELATIVE = 32
IIO_PHASE = 33
IIO_MASSCONCENTRATION = 34
IIO_DELTA_ANGL = 35
IIO_DELTA_VELOCITY = 36
IIO_COLORTEMP = 37
IIO_CHROMATICITY = 38
IIO_ATTENTION = 39
IIO_CHAN_TYPE_UNKNOWN = 0x7FFFFFFF


Expand Down

0 comments on commit 7dc8952

Please sign in to comment.