summaryrefslogtreecommitdiff
path: root/chip/mec1322/i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/mec1322/i2c.c')
-rw-r--r--chip/mec1322/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/mec1322/i2c.c b/chip/mec1322/i2c.c
index a800e9e780..5a0cc850cb 100644
--- a/chip/mec1322/i2c.c
+++ b/chip/mec1322/i2c.c
@@ -55,7 +55,7 @@ struct {
/* Transaction timeout, or 0 to use default. */
uint32_t timeout_us;
/* Task waiting on port, or TASK_ID_INVALID if none. */
- task_id_t task_waiting;
+ volatile task_id_t task_waiting;
} cdata[I2C_CONTROLLER_COUNT];
static void configure_controller_speed(int controller, int kbps)