Skip to content

Commit bc77794

Browse files
committed
Update config.h generator: Add PROGMEM stuff
1 parent eb7b978 commit bc77794

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/compile_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,9 @@ def write_config_h(filename=CONFIG_H,
177177
f.write('const float current_amplitude_R11 = 0.0296; // for Rev 1.1 - 1.2 set this value according to your own current-calibration. Default: 0.0296\n')
178178
f.write('const float current_amplitude_R13 = 0.0741; // for Rev 1.3 set this value according to your own current-calibration. Default: 0.0741\n')
179179
f.write('\n')
180-
f.write('const char* const msg_welcome = "Welcome";\n')
181-
f.write('const char* const msg_shutdown = "Live long and prosper.";\n')
182-
f.write('const char* const msg_battery_charged = "Batt. charged! Resetting counters";\n')
180+
f.write('const char msg_welcome[] PROGMEM = "Welcome";\n')
181+
f.write('const char msg_shutdown[] PROGMEM = "Live long and prosper.";\n')
182+
f.write('const char msg_battery_charged[] PROGMEM = "Batt. charged! Resetting counters";\n')
183183
f.write('\n')
184184
f.write('#endif\n')
185185

0 commit comments

Comments
 (0)