Rename CMD_PM5_QC_TEST to CMD_PM5_QC_TEST_HW

and delete repeated def: CMD_PM5_BWM_SET_CAP
This commit is contained in:
dxl authored and Philippe Teuwen committed 2026-09-05 18:09:46 +02:00
1 parent c21ddfdb74
commit ea5485b4b8
3 files changed
+5 -6

No files matched your search

+1 -2
View File
@@ -874,12 +874,11 @@ typedef struct {
#define CMD_EEPROM_FACTORY_INFO_READ 0x0172
#define CMD_EEPROM_FACTORY_INFO_WRITE 0x0173
// PM5, QC test for the hardware
#define CMD_PM5_QC_TEST 0x0177
#define CMD_PM5_QC_TEST_HW 0x0177
// PM5, set the antenna RGB LED colour (payload: r,g,b). Used by `hf/lf tune --rgb`.
#define CMD_PM5_RGB_SET 0x0178
// PM5, provision BWM fuel-gauge (BQ27427) Design Capacity. Used by `hw bwmsetcap`.
#define CMD_PM5_BWM_SET_CAP 0x0179
#define CMD_PM5_BWM_SET_CAP 0x0179
// PM5, enable/disable BWM battery charging (AW32001E CEB). Used by `hw bwmcharge`.
#define CMD_PM5_BWM_CHARGE_EN 0x017A
// PM5, toggle automatic power-off on USB unplug. Used by `hw bwmautooff`.