From 39f86d2fad567661d64716d9e6e815802835ccaa Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Tue, 10 Jan 2012 14:09:02 -0800 Subject: Split power button code into its own file Signed-off-by: Randall Spangler BUG=chrome-os-partner:7499 TEST=press and release power button; should see debug messages Change-Id: I8909ae4643afc98753edb690771618ad43135e3e --- common/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/main.c') diff --git a/common/main.c b/common/main.c index 47f3e0f0e9..c2c71fd67a 100644 --- a/common/main.c +++ b/common/main.c @@ -21,6 +21,7 @@ #include "lpc.h" #include "memory_commands.h" #include "port80.h" +#include "power_button.h" #include "powerdemo.h" #include "pwm.h" #include "pwm_commands.h" @@ -81,6 +82,7 @@ int main(void) i2c_init(); temp_sensor_init(); memory_commands_init(); + power_button_init(); keyboard_init(); adc_init(); -- cgit v1.2.1