comparison src/ui/mfw/mfw_mme.c @ 257:3edd1a600218

mfw_mme.c: hack to get initial battery state on boot
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 13 May 2021 04:32:53 +0000
parents adfdbcd360fd
children 3dee79757ae4
comparison
equal deleted inserted replaced
256:aec644728174 257:3edd1a600218
271 audio_Init(audio_device_config); 271 audio_Init(audio_device_config);
272 #else 272 #else
273 audio_Init(hdsCb); //audio driver 273 audio_Init(hdsCb); //audio driver
274 #endif 274 #endif
275 275
276 /* a hack to get the initial battery state on boot */
277 pwrCb(FCHG_EVENT_DISCHARGE);
278
276 mmeRxInfo(5,0); 279 mmeRxInfo(5,0);
277 280
278 /* install prim handler */ 281 /* install prim handler */
279 pSlot = aci_create((T_PRIM_HANDLER)mmePrimHandler,NULL); 282 pSlot = aci_create((T_PRIM_HANDLER)mmePrimHandler,NULL);
280 283