aboutsummaryrefslogtreecommitdiff
path: root/i2c.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2014-03-31 11:18:32 +0200
committerLars-Dominik Braun <lars@6xq.net>2014-04-22 16:51:13 +0200
commite3897565c342bee4765f921240b7ca91cd9b23f1 (patch)
treee7e328ee9452d54db9cfe66cccdb031cb704030f /i2c.h
parent24d11d4976062e965fb64861808548c39f53714b (diff)
downloadhourglass-e3897565c342bee4765f921240b7ca91cd9b23f1.tar.gz
hourglass-e3897565c342bee4765f921240b7ca91cd9b23f1.tar.bz2
hourglass-e3897565c342bee4765f921240b7ca91cd9b23f1.zip
Activate accel + timer
Diffstat (limited to 'i2c.h')
-rw-r--r--i2c.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/i2c.h b/i2c.h
index c02e8ad..ec7fd87 100644
--- a/i2c.h
+++ b/i2c.h
@@ -27,6 +27,8 @@ typedef struct {
/* current byte */
uint8_t i;
twStatus status;
+ /* i2c bus status at the time if an error occured */
+ uint8_t error;
} twReq;
extern volatile twReq twr;