diff options
Diffstat (limited to 'libmaple/i2c.h')
-rw-r--r-- | libmaple/i2c.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/i2c.h b/libmaple/i2c.h index 3fd7133..d6285b3 100644 --- a/libmaple/i2c.h +++ b/libmaple/i2c.h @@ -70,7 +70,7 @@ typedef struct i2c_dev { uint8 clk_line; uint8 ev_nvic_line; uint8 er_nvic_line; - volatile uint8 state; + volatile i2c_state state; uint16 msgs_left; i2c_msg *msg; volatile uint32 timestamp; |