]> Joshua Wise's Git repositories - netwatch.git/blobdiff - netwatch/smi.c
First pass of 410watch UI code.
[netwatch.git] / netwatch / smi.c
index e551ac4ccb8ffa7f0edd92a64518674b0a00ec5b..296d613f8df94700ee082c6e70ec480446d25544 100644 (file)
@@ -73,6 +73,7 @@ void smi_entry(void)
 extern void timer_handler(smi_event_t ev);
 extern void kbc_handler(smi_event_t ev);
 extern void gbl_rls_handler(smi_event_t ev);
+extern void cs410_pwrbtn_handler(smi_event_t ev);
 
 void __firstrun_stub() {
 
@@ -93,6 +94,9 @@ void __firstrun_stub() {
 
         smi_register_handler(SMI_EVENT_GBL_RLS, gbl_rls_handler);
         smi_enable_event(SMI_EVENT_GBL_RLS);
+        
+        smi_register_handler(SMI_EVENT_PWRBTN, cs410_pwrbtn_handler);
+        smi_enable_event(SMI_EVENT_PWRBTN);
 
         smi_enable();
 }
This page took 0.026281 seconds and 4 git commands to generate.