[tuxdroid-svn] r742 - daemon/trunk/libs
Status: Beta
Brought to you by:
ks156
From: jaguarondi <c2m...@c2...> - 2007-11-28 19:02:03
|
Author: jaguarondi Date: 2007-11-28 20:01:47 +0100 (Wed, 28 Nov 2007) New Revision: 742 Modified: daemon/trunk/libs/USBDaemon_status_table.c daemon/trunk/libs/USBDaemon_status_table.h Log: * Minor stuff. Modified: daemon/trunk/libs/USBDaemon_status_table.c =================================================================== --- daemon/trunk/libs/USBDaemon_status_table.c 2007-11-28 08:58:56 UTC (rev 741) +++ daemon/trunk/libs/USBDaemon_status_table.c 2007-11-28 19:01:47 UTC (rev 742) @@ -192,7 +192,6 @@ * pull-up and capacitor slow down the switch detection). */ if ((sensors1.Byte & 0x14) != (new_value & 0x14)) { - printf("sensors1: %.2x\n",sensors1.Byte); tux_status.io.plugged = (sensors1.Byte & 0x04) ? true : false; log_debug("io: power cable %s", tux_status.io.plugged ? "plugged" : "unplugged"); Modified: daemon/trunk/libs/USBDaemon_status_table.h =================================================================== --- daemon/trunk/libs/USBDaemon_status_table.h 2007-11-28 08:58:56 UTC (rev 741) +++ daemon/trunk/libs/USBDaemon_status_table.h 2007-11-28 19:01:47 UTC (rev 742) @@ -356,7 +356,7 @@ * 'loaded' can be used to filter out 'level' measurements that occurred * when the motors were running as the battery voltage is highly affected * by the load. */ - struct + struct battery_t { unsigned int level; /**< Last battery level measurement (raw data from the ADC) */ |