[tuxdroid-svn] r702 - daemon/trunk/libs
Status: Beta
Brought to you by:
ks156
From: jaguarondi <c2m...@c2...> - 2007-11-15 11:51:40
|
Author: jaguarondi Date: 2007-11-15 12:51:38 +0100 (Thu, 15 Nov 2007) New Revision: 702 Modified: daemon/trunk/libs/USBDaemon_status_table.c Log: * Forgot to change the bit number sent on tcp-ip. Modified: daemon/trunk/libs/USBDaemon_status_table.c =================================================================== --- daemon/trunk/libs/USBDaemon_status_table.c 2007-11-15 10:27:04 UTC (rev 701) +++ daemon/trunk/libs/USBDaemon_status_table.c 2007-11-15 11:51:38 UTC (rev 702) @@ -461,7 +461,7 @@ if ((portc.Byte & 0x08) != (new_value & 0x08)) { tcp_frame[4] = DATA_STATUS_RIGHT_BLUE_LED; - tcp_frame[5] = !portc.bits.PB2; + tcp_frame[5] = !portc.bits.PB3; log_debug("right blue led %s", tcp_frame[5] ? "on" : "off"); tcp_server_send_raw(tcp_frame); } @@ -470,7 +470,7 @@ if ((portc.Byte & 0x04) != (new_value & 0x04)) { tcp_frame[4] = DATA_STATUS_LEFT_BLUE_LED; - tcp_frame[5] = !portc.bits.PB3; + tcp_frame[5] = !portc.bits.PB2; log_debug("left blue led %s", tcp_frame[5] ? "on" : "off"); tcp_server_send_raw(tcp_frame); } |