deadman96385

Untitled

Jan 24th, 2019
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. //[Audio]-Add-BEGIN by TCTSZ. add open adb by long press headset button [email protected], 2016/04/05, for PR1190411
  2. #if defined(JRD_PROJECT_POP45) || defined(JRD_PROJECT_POP455C) || defined(JRD_PROJECT_Pixi4554G)
  3. if ((current_kernel_time().tv_sec - button_press_time) >= 30) {
  4. pr_info("%s: Button press over 30s\n", __func__);
  5. button_press_time = 0;
  6. tct_usb_mode_switch();
  7. }
  8. #endif
  9. //[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