100_rfid
This commit is contained in:
@ -2476,17 +2476,17 @@ static int event_handler(struct application *app, struct sys_event *event)
|
||||
return app_power_event_handler(&event->u.dev);
|
||||
}
|
||||
#if (JL_EARPHONE_APP_EN)
|
||||
else if ((u32)event->arg == DEVICE_EVENT_FROM_RCSP) {
|
||||
log_info("DEVICE_EVENT_FROM_RCSP: %d", event->u.rcsp.event);
|
||||
switch (event->u.rcsp.event) {
|
||||
case MSG_JL_UPDATE_START:
|
||||
log_info(">>> EARPHONE APP: MSG_JL_UPDATE_START\n");
|
||||
// You can add UI notifications here, like LED blinking or a tone.
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
// else if ((u32)event->arg == DEVICE_EVENT_FROM_RCSP) {
|
||||
// log_info("DEVICE_EVENT_FROM_RCSP: %d", event->u.rcsp.event);
|
||||
// switch (event->u.rcsp.event) {
|
||||
// case MSG_JL_UPDATE_START:
|
||||
// log_info(">>> EARPHONE APP: MSG_JL_UPDATE_START\n");
|
||||
// // You can add UI notifications here, like LED blinking or a tone.
|
||||
// break;
|
||||
// default:
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
#endif
|
||||
#if TCFG_CHARGESTORE_ENABLE
|
||||
else if ((u32)event->arg == DEVICE_EVENT_CHARGE_STORE) {
|
||||
|
||||
Reference in New Issue
Block a user