mirror of
https://github.com/javl/image2cpp.git
synced 2026-10-27 06:20:26 +00:00
Update index.html
This commit is contained in:
1 parent
f895229c70
commit
a33224f98f
1 file changed
+1
-1
+1
-1
@@ -821,7 +821,7 @@
|
||||
var input = document.getElementById("byte-input").value;
|
||||
|
||||
// Remove Arduino code
|
||||
input = input.replace(/(const)?\s+(unsigned\s+char|uint8_t)\s+[a-zA-Z0-9]+\s*\[\]\s*(PROGMEM\s*)?=\s*/g, "");
|
||||
input = input.replace(/const\s+(unsigned\s+char|uint8_t)\s+[a-zA-Z0-9]+\s*\[\]\s*(PROGMEM\s*)?=\s*/g, "");
|
||||
input = input.replace(/\};|\{/g, "");
|
||||
|
||||
// Convert newlines to comma (helps to remove comments later)
|
||||
|
||||
Reference in new issue
Block a user