aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/i2c.h')
-rw-r--r--libmaple/i2c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/i2c.h b/libmaple/i2c.h
index 21c17c1..a17e144 100644
--- a/libmaple/i2c.h
+++ b/libmaple/i2c.h
@@ -66,7 +66,7 @@ typedef struct i2c_dev {
uint8 clk_line;
uint8 ev_nvic_line;
uint8 er_nvic_line;
- volatile uint8 state;
+ __io uint8 state;
uint16 msgs_left;
i2c_msg *msg;
} i2c_dev;