aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libmaple/i2c.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmaple/i2c.c b/libmaple/i2c.c
index 5c0d5e4..451643e 100644
--- a/libmaple/i2c.c
+++ b/libmaple/i2c.c
@@ -105,6 +105,9 @@ enum {
* @param dev I2C device
*/
void _i2c_irq_handler(i2c_dev *dev) {
+ /* WTFs:
+ * - Where is I2C_MSG_10BIT_ADDR handled?
+ */
i2c_msg *msg = dev->msg;
uint8 read = msg->flags & I2C_MSG_READ;