bcharge: make it see 0x0004
Status: Beta
Brought to you by:
ndprojects
The current bcharge will see 0x0006 when first plugged in and reset it to 0x0004, but subsequent runs of bcharge won't see the new 0x0004 and report it's status.
This patch adds two lines to bcharge.cc, a define for 0x0004 and an OR case in the main loop to allow it to find 0x0004 devices and report their status.
Patch against CVS 2007-03-11 10:50 PST
Logged In: YES
user_id=1388245
Originator: NO
I've implemented this in a different way, and made bcharge more flexible to switch between 0004 and 0001 without unplugging, so this patch was not directly applied, but used as inspiration. :-)
Thanks!
- Chris