commit | 54957b05724ffe786c0c18d038d9d2fedb14c5fe | [log] [tgz] |
---|---|---|
author | Bartosz Golaszewski <brgl@bgdev.pl> | Wed Mar 09 10:14:33 2022 +0100 |
committer | Bartosz Golaszewski <brgl@bgdev.pl> | Wed Mar 09 10:14:33 2022 +0100 |
tree | 8c29d18c7aa4ceebba032464eaa5ee8d904b86eb | |
parent | d7d0aae7b9498e4bed566d863dda27eac90610c1 [diff] |
gpiosim: add an enum representing line active state In order to avoid confusion and stress the fact that "value" represents the logical state of a GPIO line, add a two-value enum with the names "ACTIVE" and "INACTIVE" to the libgpiosim API. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>