FreeCalypso > hg > fc-tourmaline
view src/cs/drivers/drv_app/kpd/kpd_handle_timer.c @ 281:a75eefbf8be4
Phone boot with PWON: weed out short button presses
Every standard end user phone has a design provision, most naturally
implemented in firmware, whereby the PWON button effects a boot only
if it is held down long enough - short presses of this PWON button
are detected, assumed to be spurious and cause the fw to power back off
instead of proceeding with boot. The present change introduces this
standard function in FreeCalypso.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 24 Sep 2021 02:03:08 +0000 |
parents | 4e78acac3d88 |
children |
line wrap: on
line source
/** * @file kpd_handle_timer.c * * Coding of the kpd_handle_timer function, which is called when a timer * of the SWE expires. * * @author Laurent Sollier (l-sollier@ti.com) * @version 0.1 */ /* * History: * * Date Author Modification * ---------------------------------------- * 10/12/2001 L Sollier Create * * * (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved */ #include "rv/rv_general.h" /** * @name Functions implementation * */ /*@{*/ /** * function: kpd_handle_timer */ T_RV_RET kpd_handle_timer(UINT8 timer_num) { return RV_OK; } /*@}*/