Skip to content

Commit 1c64832

Browse files
committed
bq27441: Rename status() to _control_status().
1 parent b14b22a commit 1c64832

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/bq27441/bq27441/device.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,13 +419,13 @@ def flags(self):
419419
return self.read_word(BQ27441_COMMAND_FLAGS)
420420

421421
# Read the CONTROL_STATUS subcommand of control()
422-
def status(self):
422+
def _control_status(self):
423423
return self.read_control_word(BQ27441_CONTROL_STATUS)
424424

425425
# Private Functions
426426
# Check if the BQ27441 - G1A is sealed or not.
427427
def sealed(self):
428-
stat = self.status()
428+
stat = self._control_status()
429429
return stat & BQ27441_STATUS_SS
430430

431431
# Seal the BQ27441 - G1A

0 commit comments

Comments
 (0)