mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-04 02:20:35 +08:00
changed variable name
This commit is contained in:
@@ -539,9 +539,9 @@ int BATT_SMBUS::unseal()
|
||||
int BATT_SMBUS::seal()
|
||||
{
|
||||
// See pg95 of bq40z50 technical reference.
|
||||
uint16_t seal = BATT_SMBUS_SEAL;
|
||||
uint16_t reg = BATT_SMBUS_SEAL;
|
||||
|
||||
return manufacturer_write(seal, 0, 0);
|
||||
return manufacturer_write(reg, 0, 0);
|
||||
}
|
||||
|
||||
int BATT_SMBUS::lifetime_data_flush()
|
||||
|
||||
Reference in New Issue
Block a user