Commit 3057e216 authored by Matthieu Cattin's avatar Matthieu Cattin

test26: fix module access bug, write to file instead of print to screen.

parent 9defe56e
......@@ -16,6 +16,7 @@ import os
sys.path.append('../../../')
sys.path.append('../../../gnurabbit/python/')
sys.path.append('../../../common/')
sys.path.append('../../fmceeprom/python/')
# Import common modules
from ptsexcept import *
......@@ -73,8 +74,8 @@ def main (default_directory = '.'):
# Write EEPROM data to binary file
f_eeprom = open(EEPROM_BIN_FILENAME, "wb")
for byte in eeprom_data_read:
#f_eeprom.write(chr(byte))
print "0x04X" % byte
f_eeprom.write(chr(byte))
#print "0x%04X" % byte
f_eeprom.close()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment