aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/include/i2c.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/os/hal/include/i2c.h b/os/hal/include/i2c.h
index 73f633353..1ff50f471 100644
--- a/os/hal/include/i2c.h
+++ b/os/hal/include/i2c.h
@@ -145,6 +145,9 @@ struct I2CSlaveConfig{
* If set to @p NULL then the callback is disabled.
*/
i2cerrorcallback_t id_err_callback;
+#if defined(I2C_SLAVECONFIG_EXT_FIELDS)
+ I2C_SLAVECONFIG_EXT_FIELDS
+#endif
};