Skip to content

Commit

Permalink
setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
cotestatnt committed Dec 22, 2024
1 parent 07753d1 commit a73620b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions built-in-webpages/setup/build_setup/stringConverter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a73620b

Please sign in to comment.