summaryrefslogtreecommitdiff
path: root/uisimulator/common/powermgmt-sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/common/powermgmt-sim.c')
-rw-r--r--uisimulator/common/powermgmt-sim.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/uisimulator/common/powermgmt-sim.c b/uisimulator/common/powermgmt-sim.c
index 30b04d6a0b..12bb94fd5d 100644
--- a/uisimulator/common/powermgmt-sim.c
+++ b/uisimulator/common/powermgmt-sim.c
@@ -24,7 +24,6 @@
24#include <time.h> 24#include <time.h>
25#include "kernel.h" 25#include "kernel.h"
26#include "powermgmt.h" 26#include "powermgmt.h"
27#include <SDL_events.h>
28 27
29#define BATT_MINMVOLT 2500 /* minimum millivolts of battery */ 28#define BATT_MINMVOLT 2500 /* minimum millivolts of battery */
30#define BATT_MAXMVOLT 4500 /* maximum millivolts of battery */ 29#define BATT_MAXMVOLT 4500 /* maximum millivolts of battery */
@@ -154,15 +153,6 @@ void reset_poweroff_timer(void)
154{ 153{
155} 154}
156 155
157void shutdown_hw(void)
158{
159 /* Shut down SDL event loop */
160 SDL_Event event;
161 memset(&event, 0, sizeof(SDL_Event));
162 event.type = SDL_USEREVENT;
163 SDL_PushEvent(&event);
164}
165
166void cancel_shutdown(void) 156void cancel_shutdown(void)
167{ 157{
168} 158}