make config names static members of GwConfigHandler
This commit is contained in:
parent
799fd49696
commit
b51c36a5bb
|
@ -131,7 +131,7 @@ def generateCfg(inFile,outFile,addDirs=[]):
|
|||
continue
|
||||
if len(n) > 15:
|
||||
raise Exception("%s: config names must be max 15 caracters"%n)
|
||||
data+=' const String %s=F("%s");\n'%(n,n)
|
||||
data+=' static constexpr const __FlashStringHelper* %s=F("%s");\n'%(n,n)
|
||||
data+=' protected:\n'
|
||||
data+=' GwConfigInterface *configs[%d]={\n'%(l)
|
||||
first=True
|
||||
|
|
Loading…
Reference in New Issue