We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a691b6 commit cd19d33Copy full SHA for cd19d33
examples/Proverbs/Proverbs.ino
@@ -32,11 +32,11 @@ void setup() {
32
void loop() {
33
34
// buffer for decompression
35
- // since g option was used to generate Proverbs.h, the buffer can be
36
- // just Proverbs0_2_max_len size.
37
- // The call to Unishox_0_2_decompress() can be kept inside a function with this buffer
+ // since -G option was used to generate Proverbs.h, the buffer size has to be
+ // atleast Proverbs0_2_max_len * 2).
+ // The call to unishox1_pgm_decompress() can be kept inside a function with this buffer
38
// to release it immediately.
39
- char out[Proverbs_Uni_max_len];
+ char out[Proverbs_Uni_max_len * 2];
40
41
Serial.write("Welcome\n");
42
Serial.write("-------\n");
0 commit comments