Skip to content

Commit

Permalink
Added array length int variable to header file
Browse files Browse the repository at this point in the history
  • Loading branch information
szczys committed Dec 28, 2013
1 parent 70ceca8 commit 6f2cd5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions unique-string-gen/unique-string-gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

print "Generating PROGMEM array as uniqueSet.h"
with open('uniqueSet.h', 'w') as f:
f.write("unsigned int uniqueSetLen = " + str(setSize) + ";\n\n")
f.write("unsigned int uniqueSet[" + str(setSize) + "] PROGMEM = {\n")
for i in range(setSize/5):
if i == (setSize/5)-1:
Expand Down

0 comments on commit 6f2cd5c

Please sign in to comment.