New branch for my new AIO key.
Will have to remember to sanitize before committing to master. Signed-off-by: A.M. Rowsell <amrowsell@frozenelectronics.ca>
This commit is contained in:
parent
70cf55efdf
commit
1cd8191682
4 changed files with 24 additions and 21 deletions
|
@ -3,7 +3,7 @@
|
|||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
#!/usr/bin/python3
|
||||
##
|
||||
# @file
|
||||
# @brief File to create string arrays
|
||||
|
@ -28,5 +28,5 @@ for letter in inString[:-1]:
|
|||
|
||||
p = ord(inString[-1])
|
||||
print("{0:#x} ".format(int(p)), end='')
|
||||
print("};")
|
||||
print("}; // " + inString)
|
||||
print("static const uint8_t {0}_len = {1};".format(sys.argv[2], len(inString)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue