diff cos/utils/bin2c.py @ 28:47b7df514243

Moved Makefiles
author windel
date Wed, 28 Dec 2011 13:38:43 +0100
parents d3c4bf3720a3
children
line wrap: on
line diff
--- a/cos/utils/bin2c.py	Tue Dec 27 18:59:02 2011 +0100
+++ b/cos/utils/bin2c.py	Wed Dec 28 13:38:43 2011 +0100
@@ -10,7 +10,7 @@
    data = f.read()
 
 s = ', '.join(hex(b) for b in data)
-output = 'unsigned char[] data = {{{0}}};'.format(s)
+output = 'unsigned char data[] = {{{0}}};'.format(s)
 if len(sys.argv) < 3:
    print(output)
 else: