[tuxdroid-svn] r700 - daemon/trunk/libs
Status: Beta
Brought to you by:
ks156
From: jaguarondi <c2m...@c2...> - 2007-11-15 10:26:53
|
Author: jaguarondi Date: 2007-11-15 11:26:40 +0100 (Thu, 15 Nov 2007) New Revision: 700 Modified: daemon/trunk/libs/USBDaemon_status_table.c Log: * Right and left LEDs status were inverted. Modified: daemon/trunk/libs/USBDaemon_status_table.c =================================================================== --- daemon/trunk/libs/USBDaemon_status_table.c 2007-11-14 13:26:50 UTC (rev 699) +++ daemon/trunk/libs/USBDaemon_status_table.c 2007-11-15 10:26:40 UTC (rev 700) @@ -458,7 +458,7 @@ } /* right blue led */ - if ((portc.Byte & 0x04) != (new_value & 0x04)) + if ((portc.Byte & 0x08) != (new_value & 0x08)) { tcp_frame[4] = DATA_STATUS_RIGHT_BLUE_LED; tcp_frame[5] = !portc.bits.PB2; @@ -467,7 +467,7 @@ } /* left blue led */ - if ((portc.Byte & 0x08) != (new_value & 0x08)) + if ((portc.Byte & 0x04) != (new_value & 0x04)) { tcp_frame[4] = DATA_STATUS_LEFT_BLUE_LED; tcp_frame[5] = !portc.bits.PB3; |