From e62ab7a153c92d6233a4eec432ac0c42c5d336c0 Mon Sep 17 00:00:00 2001 From: balrog Date: Fri, 9 May 2008 22:17:18 +0000 Subject: Improve tsc2005 touchscreen usability. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4401 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/max7310.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/max7310.c') 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; -- cgit v1.2.3