summaryrefslogtreecommitdiff
path: root/app/drivers/zephyr/ec11.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/drivers/zephyr/ec11.h')
-rw-r--r--app/drivers/zephyr/ec11.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/drivers/zephyr/ec11.h b/app/drivers/zephyr/ec11.h
index 524af2c..8acc3a6 100644
--- a/app/drivers/zephyr/ec11.h
+++ b/app/drivers/zephyr/ec11.h
@@ -31,8 +31,9 @@ struct ec11_data {
struct device *a;
struct device *b;
u8_t ab_state;
- s16_t pulse_state;
- s16_t tick_state;
+ s8_t pulses;
+ s8_t ticks;
+ s8_t delta;
#ifdef CONFIG_EC11_TRIGGER
struct device *gpio;