aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wince/CEDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/wince/CEDevice.cpp')
-rw-r--r--backends/platform/wince/CEDevice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/wince/CEDevice.cpp b/backends/platform/wince/CEDevice.cpp
index dccbc2208b..98a8fb95f6 100644
--- a/backends/platform/wince/CEDevice.cpp
+++ b/backends/platform/wince/CEDevice.cpp
@@ -102,7 +102,7 @@ void CEDevice::init() {
backlight_xchg();
REG_tampered = true;
SystemParametersInfo(SPI_GETBATTERYIDLETIMEOUT, 0, (void *) &bat_timeout, 0);
- SystemParametersInfo(SPI_SETBATTERYIDLETIMEOUT, 60 * 60 * 2, NULL, SPIF_SENDCHANGE);
+ SystemParametersInfo(SPI_SETBATTERYIDLETIMEOUT, 60 * 60 * 2, NULL, SPIF_SENDCHANGE);
}
void CEDevice::end() {
@@ -110,7 +110,7 @@ void CEDevice::end() {
_ReleasePowerRequirement(_hPowerManagement);
if (REG_tampered)
backlight_xchg();
- SystemParametersInfo(SPI_SETBATTERYIDLETIMEOUT, bat_timeout, NULL, SPIF_SENDCHANGE);
+ SystemParametersInfo(SPI_SETBATTERYIDLETIMEOUT, bat_timeout, NULL, SPIF_SENDCHANGE);
}
void CEDevice::wakeUp() {