Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pybricks.common.charger: change return value of connected()
Change return value of `connected()` property from `bool` to `int` using the value of `pbdrv_usb_get_bcd()`. This will allow pro users to be able to tell if they have a "nonstandard" charger that could prevent proper charging.
- Loading branch information