Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[usb_moded] Do not track pc / charger connect separately. JB#41748
Handling "connected to pc" and "connected to charger" as separate boolean states just complicates things. Move cable_state_t enumeration values from udev module to usb_moded.h to make them generally available. Utilize cable_state_t also within usb_moded.c module. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information
Showing
5 changed files
with
155 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.