Skip to content

Commit

Permalink
fixes and build for v0.12 (#133)
Browse files Browse the repository at this point in the history
* change install to location
* install script will remove old sylinks
* fix rc.local call to install
* version 0.12 build
  • Loading branch information
Louisvdw authored Jun 16, 2022
1 parent 0cfcbb8 commit d5fe495
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions etc/dbus-serialbattery/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
logger.setLevel(logging.INFO)

# Constants - Need to dynamically get them in future
DRIVER_VERSION = 0.11
DRIVER_SUBVERSION = 'b4'
DRIVER_VERSION = 0.12
DRIVER_SUBVERSION = ''
zero_char = chr(48)
degree_sign = u'\N{DEGREE SIGN}'
# Cell min/max voltages - used with the cell count to get the min/max battery voltage
MIN_CELL_VOLTAGE = 3.1
MIN_CELL_VOLTAGE = 2.9
MAX_CELL_VOLTAGE = 3.45
# battery Current limits
MAX_BATTERY_CURRENT = 50.0
Expand Down
2 changes: 1 addition & 1 deletion rc.local
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
exec /data/etc/dbus-serialbattery/reinstalllocal.sh
sh /data/etc/dbus-serialbattery/reinstalllocal.sh

0 comments on commit d5fe495

Please sign in to comment.