Satisfy black formatting
This commit is contained in:
parent
e9dbe2d4fb
commit
7d7e3ce45f
4 changed files with 6 additions and 6 deletions
|
@ -348,7 +348,7 @@ class PN532:
|
||||||
self.low_power = True
|
self.low_power = True
|
||||||
else:
|
else:
|
||||||
# Soft Power Down otherwise. Enable wakeup on I2C, SPI, UART
|
# Soft Power Down otherwise. Enable wakeup on I2C, SPI, UART
|
||||||
response = self.call_function(_COMMAND_POWERDOWN, params=[0xb0, 0x00])
|
response = self.call_function(_COMMAND_POWERDOWN, params=[0xB0, 0x00])
|
||||||
self.low_power = response[0] == 0x00
|
self.low_power = response[0] == 0x00
|
||||||
time.sleep(0.005)
|
time.sleep(0.005)
|
||||||
return self.low_power
|
return self.low_power
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue