Fix legacy build

This commit is contained in:
Alex Voinea 2023-09-24 15:43:29 +02:00
parent 10e6087d6b
commit a267d80fe2
3 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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()