summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/misc.c4
-rw-r--r--apps/plugin.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/misc.c b/apps/misc.c
index 67fe2688b4..de19c1e957 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -239,7 +239,7 @@ bool clean_shutdown(void)
239 return false; 239 return false;
240} 240}
241 241
242int default_event_handler_ex(int event, void (*callback)(void *), void *parameter) 242int default_event_handler_ex(long event, void (*callback)(void *), void *parameter)
243{ 243{
244 switch(event) 244 switch(event)
245 { 245 {
@@ -261,7 +261,7 @@ int default_event_handler_ex(int event, void (*callback)(void *), void *paramete
261 return 0; 261 return 0;
262} 262}
263 263
264int default_event_handler(int event) 264int default_event_handler(long event)
265{ 265{
266 return default_event_handler_ex(event, NULL, NULL); 266 return default_event_handler_ex(event, NULL, NULL);
267} 267}
diff --git a/apps/plugin.h b/apps/plugin.h
index 3e72248ebc..8cf7e63709 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -192,7 +192,7 @@ struct plugin_api {
192 void (*yield)(void); 192 void (*yield)(void);
193 long* current_tick; 193 long* current_tick;
194 int (*default_event_handler)(int event); 194 int (*default_event_handler)(int event);
195 int (*default_event_handler_ex)(int event, void (*callback)(void *), void *parameter); 195 int (*default_event_handler_ex)(long event, void (*callback)(void *), void *parameter);
196 int (*create_thread)(void* function, void* stack, int stack_size, const char *name); 196 int (*create_thread)(void* function, void* stack, int stack_size, const char *name);
197 void (*remove_thread)(int threadnum); 197 void (*remove_thread)(int threadnum);
198 void (*reset_poweroff_timer)(void); 198 void (*reset_poweroff_timer)(void);