fix compile error unused variable cec
fix compile errors
fix more compile errors as i play with wakeup.c