FreeCalypso > hg > fc-tourmaline
diff src/cs/drivers/drv_app/power/board/power.c @ 240:184a031e38e6
Switch_ON(): start FCBM for charging boot mode
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 02 May 2021 06:00:09 +0000 |
parents | 305d3bb691a5 |
children | 96784b8974eb |
line wrap: on
line diff
--- a/src/cs/drivers/drv_app/power/board/power.c Sun May 02 05:30:59 2021 +0000 +++ b/src/cs/drivers/drv_app/power/board/power.c Sun May 02 06:00:09 2021 +0000 @@ -37,6 +37,10 @@ extern effs_t ffs_exit(void); #endif // _WINDOWS +#if (MMI != 0) + #include "fcbm/fcbm_send_msg.h" +#endif + /// The ABB status used to know the cause of the Switch ON event. static SYS_UWORD16 Power_abb_status = 0; @@ -135,6 +139,9 @@ /* Switch on Condition on CHARGER IC PLUG */ rvf_send_trace("Boot: Charger Plug",18, NULL_PARAM, RV_TRACE_LEVEL_DEBUG_LOW, LCC_USE_ID); + #if (MMI != 0) + fcbm_message_to_task(FCBM_START_CHG_MODE); + #endif } else