Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //[Audio]-Add-BEGIN by TCTSZ. add open adb by long press headset button [email protected], 2016/04/05, for PR1190411
- #if defined(JRD_PROJECT_POP45) || defined(JRD_PROJECT_POP455C) || defined(JRD_PROJECT_Pixi4554G)
- if ((current_kernel_time().tv_sec - button_press_time) >= 30) {
- pr_info("%s: Button press over 30s\n", __func__);
- button_press_time = 0;
- tct_usb_mode_switch();
- }
- #endif
- //[Audio]-Add-END by TCTSZ. add open adb by long press headset button [email protected], 2016/04/05, for PR1190411
Advertisement
Add Comment
Please, Sign In to add comment