From 3abc11611e1d1d93f1cf794df28879de3571bd01 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 18 Sep 2007 20:16:33 +0000 Subject: Code formatting fixes svn-id: r28945 --- backends/platform/ds/arm7/source/main.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'backends/platform/ds/arm7') diff --git a/backends/platform/ds/arm7/source/main.cpp b/backends/platform/ds/arm7/source/main.cpp index f32baa5ab6..b7d9445e6e 100644 --- a/backends/platform/ds/arm7/source/main.cpp +++ b/backends/platform/ds/arm7/source/main.cpp @@ -483,7 +483,7 @@ void InterruptTimer3() { IPC->battery = batt; IPC->aux = aux; - for(u32 i=0; icurtime[i] = ct[i]; } @@ -527,7 +527,7 @@ void arm7_synctoarm9() { // send fifo message // interrupt handler to allow incoming notifications from arm9 void arm7_fifo() { // check incoming fifo messages u32 msg = REG_IPC_FIFO_RX; - if(msg==0x87654321) Wifi_Sync(); + if (msg==0x87654321) Wifi_Sync(); } @@ -543,13 +543,13 @@ void initDebugger() { // sync with arm9 and init wifi u32 fifo_temp; - while(1) { // wait for magic number - while(REG_IPC_FIFO_CR&IPC_FIFO_RECV_EMPTY) swiWaitForVBlank(); + while (1) { // wait for magic number + while (REG_IPC_FIFO_CR&IPC_FIFO_RECV_EMPTY) swiWaitForVBlank(); fifo_temp=REG_IPC_FIFO_RX; - if(fifo_temp==0x12345678) break; + if (fifo_temp==0x12345678) break; } - while(REG_IPC_FIFO_CR&IPC_FIFO_RECV_EMPTY) swiWaitForVBlank(); + while (REG_IPC_FIFO_CR&IPC_FIFO_RECV_EMPTY) swiWaitForVBlank(); fifo_temp=REG_IPC_FIFO_RX; // give next value to wifi_init Wifi_Init(fifo_temp); -- cgit v1.2.3