clang-format'ted
This commit is contained in:
parent
cbfa041afc
commit
e5dc1638f9
2 changed files with 61 additions and 61 deletions
120
src/device.c
120
src/device.c
|
@ -58,66 +58,66 @@ void check_devices() {
|
|||
sched_timer2 = saturn.t2_tick;
|
||||
device.t2_touched = 0;
|
||||
}
|
||||
/* if (device.disp_test_touched) { */
|
||||
/* device.disp_test_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.crc_touched) { */
|
||||
/* device.crc_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.power_status_touched) { */
|
||||
/* device.power_status_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.power_ctrl_touched) { */
|
||||
/* device.power_ctrl_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.mode_touched) { */
|
||||
/* device.mode_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.card_ctrl_touched) { */
|
||||
/* device.card_ctrl_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.card_status_touched) { */
|
||||
/* device.card_status_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.tcs_touched) { */
|
||||
/* device.tcs_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.rcs_touched) { */
|
||||
/* device.rcs_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.sreq_touched) { */
|
||||
/* device.sreq_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.ir_ctrl_touched) { */
|
||||
/* device.ir_ctrl_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.base_off_touched) { */
|
||||
/* device.base_off_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.lcr_touched) { */
|
||||
/* device.lcr_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.lbr_touched) { */
|
||||
/* device.lbr_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.scratch_touched) { */
|
||||
/* device.scratch_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.base_nibble_touched) { */
|
||||
/* device.base_nibble_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.unknown_touched) { */
|
||||
/* device.unknown_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.t1_ctrl_touched) { */
|
||||
/* device.t1_ctrl_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.t2_ctrl_touched) { */
|
||||
/* device.t2_ctrl_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.unknown2_touched) { */
|
||||
/* device.unknown2_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.disp_test_touched) { */
|
||||
/* device.disp_test_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.crc_touched) { */
|
||||
/* device.crc_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.power_status_touched) { */
|
||||
/* device.power_status_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.power_ctrl_touched) { */
|
||||
/* device.power_ctrl_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.mode_touched) { */
|
||||
/* device.mode_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.card_ctrl_touched) { */
|
||||
/* device.card_ctrl_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.card_status_touched) { */
|
||||
/* device.card_status_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.tcs_touched) { */
|
||||
/* device.tcs_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.rcs_touched) { */
|
||||
/* device.rcs_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.sreq_touched) { */
|
||||
/* device.sreq_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.ir_ctrl_touched) { */
|
||||
/* device.ir_ctrl_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.base_off_touched) { */
|
||||
/* device.base_off_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.lcr_touched) { */
|
||||
/* device.lcr_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.lbr_touched) { */
|
||||
/* device.lbr_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.scratch_touched) { */
|
||||
/* device.scratch_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.base_nibble_touched) { */
|
||||
/* device.base_nibble_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.unknown_touched) { */
|
||||
/* device.unknown_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.t1_ctrl_touched) { */
|
||||
/* device.t1_ctrl_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.t2_ctrl_touched) { */
|
||||
/* device.t2_ctrl_touched = 0; */
|
||||
/* } */
|
||||
/* if (device.unknown2_touched) { */
|
||||
/* device.unknown2_touched = 0; */
|
||||
/* } */
|
||||
}
|
||||
|
||||
/* #include <fcntl.h> */
|
||||
|
|
|
@ -83,7 +83,7 @@ void set_accesstime() {
|
|||
/*
|
||||
* This is done to set the variable 'timezone' on SYSV systems
|
||||
*/
|
||||
(void)time( &gmt );
|
||||
( void )time( &gmt );
|
||||
ltm = localtime( &gmt );
|
||||
#if defined( SYSV_TIME ) || defined( __sgi )
|
||||
systime_offset = timezone;
|
||||
|
|
Loading…
Reference in a new issue