summaryrefslogtreecommitdiff
path: root/hw/max7310.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-09 22:17:18 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-09 22:17:18 +0000
commite62ab7a153c92d6233a4eec432ac0c42c5d336c0 (patch)
treebf056256c6a6fa93e15e8d93d059188156c55118 /hw/max7310.c
parent1d4e547b552213f91f81aadb3db5efc9ba800ef2 (diff)
downloadqemu-e62ab7a153c92d6233a4eec432ac0c42c5d336c0.tar.gz
qemu-e62ab7a153c92d6233a4eec432ac0c42c5d336c0.tar.bz2
qemu-e62ab7a153c92d6233a4eec432ac0c42c5d336c0.zip
Improve tsc2005 touchscreen usability.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4401 c046a42c-6fe2-441c-8c8c-71466251a162
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;