diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-07-21 13:29:21 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-07-21 13:29:21 -0400 |
commit | ac9ba3ae7d6db496ba7ddccf434804cfebfa6dab (patch) | |
tree | c4a8695e8ed63abe9048f10e33b308555b9ca70d /app/drivers/zephyr/ec11.h | |
parent | aa7c74fe075526c73cac8ae1e7df826f762fedc5 (diff) |
Code cleanup for non-trigger mode.
Diffstat (limited to 'app/drivers/zephyr/ec11.h')
-rw-r--r-- | app/drivers/zephyr/ec11.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/app/drivers/zephyr/ec11.h b/app/drivers/zephyr/ec11.h index 8acc3a6..b54e532 100644 --- a/app/drivers/zephyr/ec11.h +++ b/app/drivers/zephyr/ec11.h @@ -22,11 +22,6 @@ struct ec11_config { const u8_t resolution; }; -enum ec11_pin_state { - EC11_A_PIN_STATE, - EC11_B_PIN_STATE -}; - struct ec11_data { struct device *a; struct device *b; @@ -36,7 +31,6 @@ struct ec11_data { s8_t delta; #ifdef CONFIG_EC11_TRIGGER - struct device *gpio; struct gpio_callback a_gpio_cb; struct gpio_callback b_gpio_cb; struct device *dev; |