freemyipod r937 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r936‎ | r937 | r938 >
Date:03:44, 7 June 2014
Author:theseven
Status:new
Tags:
Comment:
emcore.py: Fix i2cwrite command
Modified paths:
  • /emcore/trunk/tools/emcore.py (modified) (history)

Diff [purge]

Index: emcore/trunk/tools/emcore.py
@@ -395,7 +395,7 @@
396396 bus = to_int(bus)
397397 slave = to_int(slave)
398398 addr = to_int(addr)
399 - data = ""
 399+ data = b""
400400 for arg in args:
401401 data += chr(to_int(arg))
402402 self.logger.info("Writing data to I2C...\n")