Private
Public Access
2
0

examples: fix static code analysis findings

Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com>
This commit is contained in:
Alex Tereschenko
2018-01-28 16:12:58 +01:00
parent 9b08a97d46
commit 6e13268301
3 changed files with 2 additions and 3 deletions

View File

@@ -35,6 +35,6 @@ txbuf[2] = 0x00
while True:
rxbuf = dev.write(txbuf)
value = ((rxbuf[1] & 0x03) << 8) | rxbuf[2]
print value
print(value)
time.sleep(0.5)