aboutsummaryrefslogtreecommitdiff
path: root/hw/display/sii9022.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/display/sii9022.c')
-rw-r--r--hw/display/sii9022.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/display/sii9022.c b/hw/display/sii9022.c
index b591a58..664fd40 100644
--- a/hw/display/sii9022.c
+++ b/hw/display/sii9022.c
@@ -76,6 +76,8 @@ static int sii9022_event(I2CSlave *i2c, enum i2c_event event)
break;
case I2C_NACK:
break;
+ default:
+ return -1;
}
return 0;