BigW Consortium Gitlab

Commit bccb2649 by David Frey

Support batteryService on WP76 and WP77

The variable MANGOH_I2C_BUS_BATTERY has been introduced in the targets files for 9x15 and 9x07 because the I2C bus numbering differs. The batteryService app has been updated to use this variable.
parent 168056eb
Subproject commit 4fcb12648e566399f946aa95a8519df1c3c95495
Subproject commit ab515c0a34ffe13081f41351346d1cab74522abc
......@@ -12,5 +12,10 @@ buildVars:
MANGOH_BATTERY_SERVICE_SUPPORTED = 1
MANGOH_SUPPORT_MT7697_WIFI = 1
/*
* I2C bus containing the battery charger and battery gauge
*/
MANGOH_I2C_BUS_BATTERY = 6
}
......@@ -25,5 +25,10 @@ buildVars:
* The 9x15 kernel doesn't include IIO (Industrial IO) support
*/
MANGOH_KERNEL_LACKS_IIO = 1
/*
* I2C bus containing the battery charger and battery gauge
*/
MANGOH_I2C_BUS_BATTERY = 2
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment