Fix legacy build
This commit is contained in:
parent
10e6087d6b
commit
a267d80fe2
|
|
@ -858,7 +858,7 @@ void lcd_buttons_update(void)
|
|||
// Custom character data
|
||||
|
||||
const CustomCharacter Font[] PROGMEM = {
|
||||
#include "../lang/lib/FontTable.h"
|
||||
#include "FontTable.h"
|
||||
};
|
||||
|
||||
// #define DEBUG_CUSTOM_CHARACTERS
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ def generateFont():
|
|||
|
||||
CharList = [Char.attrib for Char in root.iter("CHAR")]
|
||||
|
||||
f = open(os.path.join(sys.path[0], "FontTable.h"), "w", encoding='utf8')
|
||||
f = open(os.path.join(sys.path[0], "../../Firmware/FontTable.h"), "w", encoding='utf8')
|
||||
for index in range(len(FONT_TABLE)):
|
||||
f.write(generateLineInTable(index, CharList) + '\n')
|
||||
f.close()
|
||||
|
|
|
|||
Loading…
Reference in New Issue