Improve tsc2005 touchscreen usability.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4401 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
balrog 2008-05-09 22:17:18 +00:00
parent 1d4e547b55
commit e62ab7a153
3 changed files with 7 additions and 15 deletions

View file

@ -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;