Skip to content

Commit 95e19e6

Browse files
committed
GUI: more tweaks to exported code
1 parent 73d72b2 commit 95e19e6

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

docs/red/main.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,22 +130,23 @@ var RED = (function() {
130130
cpp += "void setup(void) {\n";
131131
cpp += "\t" + "//Start the USB serial link (to enable debugging)\n";
132132
cpp += "\t" + "Serial.begin(115200); delay(500);\n";
133-
cpp += "\t" + "Serial.println(\"Program Starting...\");\n";
133+
cpp += "\t" + "Serial.println(\"Setup starting...\");\n";
134134
cpp += "\t" + "\n"
135135
cpp += "\t" + "//Allocate dynamically shuffled memory for the audio subsystem\n";
136-
cpp += "\t" + "AudioMemory(10); AudioMemory_F32(10)\n";
136+
cpp += "\t" + "AudioMemory(10); AudioMemory_F32(10);\n";
137137
cpp += "\t" + "\n";
138138
cpp += "\t" + "//Put your own setup code here\n";
139139
cpp += "\t" + "\n";
140-
cpp += "\t" + "Serial.println(\"Setup Complete.\t);\n";
141-
cpp += "};";
140+
cpp += "\t" + "//End of setup\n";
141+
cpp += "\t" + "Serial.println(\"Setup complete.\");\n";
142+
cpp += "};\n";
142143

143144
// generate loop()
144145
cpp += "\n";
145146
cpp += "\n";
146147
cpp += "//After setup(), the loop function loops forever.\n";
147-
cpp += "//Note that the audio modules are called in the background,\n";
148-
cpp += "//they do not need to be serviced by the loop() function.\n"
148+
cpp += "//Note that the audio modules are called in the background.\n";
149+
cpp += "//They do not need to be serviced by the loop() function.\n"
149150
cpp += "void loop(void) {\n";
150151
cpp += "\n";
151152
cpp += "};";

0 commit comments

Comments
 (0)