diff --git a/built-in-webpages/setup/build_setup/stringConverter.js b/built-in-webpages/setup/build_setup/stringConverter.js index 7e7aef6..ae203ff 100644 --- a/built-in-webpages/setup/build_setup/stringConverter.js +++ b/built-in-webpages/setup/build_setup/stringConverter.js @@ -37,9 +37,8 @@ module.exports = { var dataLength = data.byteLength; console.log('actualDataLength: ' + dataLength); - var resultString = '#define SETUP_HTML_SIZE '; - resultString += dataLength + '\n' - resultString += 'static const unsigned char SETUP_HTML[] PROGMEM = {\n '; + var resultString = '/* C-file generated by minify.js script */\n\n'; + resultString += 'static const unsigned char _acsetup_min_htm[' + dataLength +' + 1] PROGMEM = {\n'; resultString += stringConverter.convert(dataLength, 1, true, 16, data); resultString += '\n};'; return resultString;