[tuxdroid-svn] r349 - daemon/trunk/libs
Status: Beta
Brought to you by:
ks156
From: neimad <c2m...@c2...> - 2007-06-05 19:37:35
|
Author: neimad Date: 2007-06-05 21:37:06 +0200 (Tue, 05 Jun 2007) New Revision: 349 Modified: daemon/trunk/libs/USBDaemon_status_table.c Log: * Fixed failed automated indentation. Modified: daemon/trunk/libs/USBDaemon_status_table.c =================================================================== --- daemon/trunk/libs/USBDaemon_status_table.c 2007-06-04 19:58:56 UTC (rev 348) +++ daemon/trunk/libs/USBDaemon_status_table.c 2007-06-05 19:37:06 UTC (rev 349) @@ -185,10 +185,9 @@ unsigned long tmp; version_t *hw_ver; - tmp = - (new_status[3] << 24) + (new_status[2] << 16) + (new_status[1] << 8) + - (new_status[0]); - hw_ver = (version_t *) & tmp; + tmp = (new_status[3] << 24) + (new_status[2] << 16) + (new_status[1] << 8) + + (new_status[0]); + hw_ver = (version_t *)&tmp; last_cpu_ver = CPU_VER_MAJ(hw_ver->cpu_ver_maj); hw_version[last_cpu_ver] = *hw_ver; } @@ -203,10 +202,9 @@ unsigned long tmp; revision_t *hw_rev; - tmp = - (new_status[3] << 24) + (new_status[2] << 16) + (new_status[1] << 8) + - (new_status[0]); - hw_rev = (revision_t *) & tmp; + tmp = (new_status[3] << 24) + (new_status[2] << 16) + (new_status[1] << 8) + + (new_status[0]); + hw_rev = (revision_t *)&tmp; hw_revision[last_cpu_ver] = *hw_rev; } @@ -220,10 +218,9 @@ unsigned long tmp; author_t *hw_aut; - tmp = - (new_status[3] << 24) + (new_status[2] << 16) + (new_status[1] << 8) + - (new_status[0]); - hw_aut = (author_t *) & tmp; + tmp = (new_status[3] << 24) + (new_status[2] << 16) + (new_status[1] << 8) + + (new_status[0]); + hw_aut = (author_t *)&tmp; hw_author[last_cpu_ver] = *hw_aut; } |