aboutsummaryrefslogtreecommitdiff
path: root/i2c.h
diff options
context:
space:
mode:
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;