aboutsummaryrefslogtreecommitdiff
path: root/hw/i2c/microbit_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/i2c/microbit_i2c.c')
-rw-r--r--hw/i2c/microbit_i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/i2c/microbit_i2c.c b/hw/i2c/microbit_i2c.c
index 8024739..e92f9f8 100644
--- a/hw/i2c/microbit_i2c.c
+++ b/hw/i2c/microbit_i2c.c
@@ -83,6 +83,7 @@ static const VMStateDescription microbit_i2c_vmstate = {
.fields = (VMStateField[]) {
VMSTATE_UINT32_ARRAY(regs, MicrobitI2CState, MICROBIT_I2C_NREGS),
VMSTATE_UINT32(read_idx, MicrobitI2CState),
+ VMSTATE_END_OF_LIST()
},
};