From 3c63c8688def0ae4aa0dfd7815b635a6c40ca750 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 14 Sep 2008 22:12:59 +0000 Subject: Another NDS compilation fix, plus a warning fix svn-id: r34546 --- backends/platform/ds/arm7/source/main.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'backends/platform/ds/arm7/source/main.cpp') diff --git a/backends/platform/ds/arm7/source/main.cpp b/backends/platform/ds/arm7/source/main.cpp index bee39f1efe..d252ed44de 100644 --- a/backends/platform/ds/arm7/source/main.cpp +++ b/backends/platform/ds/arm7/source/main.cpp @@ -233,7 +233,7 @@ void DummyHandler() { REG_IF = REG_IF; } -uint16 powerManagerWrite(uint32 command, u32 data, bool enable) { +void powerManagerWrite(uint32 command, u32 data, bool enable) { uint16 result; SerialWaitBusy(); @@ -261,9 +261,6 @@ uint16 powerManagerWrite(uint32 command, u32 data, bool enable) { REG_SPICNT = SPI_ENABLE | SPI_BAUD_1MHz; REG_SPIDATA = enable? (result | data): (result & ~data); SerialWaitBusy(); - - // FIXME: This function should either return something, or have a comment - // explaining why it is valid for it to not return something. :-) } /* -- cgit v1.2.3