Fetch/get implementation work.

This commit is contained in:
Pete Johanson
2020-07-20 22:47:50 -04:00
parent 109c69cbab
commit c058757252
2 changed files with 22 additions and 26 deletions

View File

@@ -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;