Minor stuff (2)

This commit is contained in:
Aurora 2016-11-02 15:36:20 +01:00
parent b4c854dfe8
commit 3eaa706ccf

View File

@ -302,11 +302,10 @@ static inline void copySection0AndInjectSystemModules(FirmwareType firmType, boo
else else
{ {
char fileName[24] = "sysmodules/"; char fileName[24] = "sysmodules/";
const char *ext = ".cxi";
//Read modules from files if they exist //Read modules from files if they exist
concatenateStrings(fileName, moduleName); concatenateStrings(fileName, moduleName);
concatenateStrings(fileName, ext); concatenateStrings(fileName, ".cxi");
dstModuleSize = getFileSize(fileName); dstModuleSize = getFileSize(fileName);