Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adb: Move the ADBD_USB_SERVER dependence from item to choice #2

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ name: CI

# Controls when the workflow will run
on:
pull_request_review:
types: [submitted]
pull_request:
types: [opened, reopened, synchronize]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down
3 changes: 1 addition & 2 deletions system/adb/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -116,16 +116,15 @@ config ADBD_USB_SERVER
choice
prompt "Check usb hotplug"
default ADBD_USB_HOTPLUG_BYTIMER
depends on ADBD_USB_SERVER

config ADBD_USB_HOTPLUG_BYTIMER
bool "Using 1s timer to check usb hotplug"
depends on ADBD_USB_SERVER
---help---
Using 1s timer to check usb hotplug

config ADBD_USB_HOTPLUG_BYNOTIFY
bool "Using fs notify to check usb hotplug"
depends on ADBD_USB_SERVER
depends on FS_NOTIFY
---help---
Using fs notify to monitor usb hotplug
Expand Down
Loading