summary refs log tree commit diff stats
path: root/hw/max7310.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/max7310.c')
-rw-r--r--hw/max7310.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/max7310.c b/hw/max7310.c
index 75e56c7194..397950a084 100644
--- a/hw/max7310.c
+++ b/hw/max7310.c
@@ -134,8 +134,8 @@ static void max7310_event(i2c_slave *i2c, enum i2c_event event)
         s->i2c_command_byte = 1;
         break;
     case I2C_FINISH:
-        if (s->len == 1)
 #ifdef VERBOSE
+        if (s->len == 1)
             printf("%s: message too short (%i bytes)\n", __FUNCTION__, s->len);
 #endif
         break;