Skip to content

Conversation

@calledit
Copy link
Contributor

The same code was duplicated making things harder to read. This patch removes the duplicated code.
It also fixes en issue that could occur when a Bluetooth BMS was configured to be used but no address was given.

Adding else: to stop errors from occurring

The old BLE bms implementations used ble_ as a prefix.
Not using that might cause the battery to not be detected as the same battery if someone upgrades dbus-serialbattery.
So best to just keep prefixing with "ble_"
@mr-manuel mr-manuel merged commit e083904 into mr-manuel:master Jul 16, 2024
cgoudie pushed a commit to TechBlueprints/venus-os_dbus-serialbattery that referenced this pull request Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants