Skip to content

Commit cd19d33

Browse files
siara-ccsiara-in
authored andcommitted
First commit
1 parent 8a691b6 commit cd19d33

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/Proverbs/Proverbs.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ void setup() {
3232
void loop() {
3333

3434
// 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
35+
// since -G option was used to generate Proverbs.h, the buffer size has to be
36+
// atleast Proverbs0_2_max_len * 2).
37+
// The call to unishox1_pgm_decompress() can be kept inside a function with this buffer
3838
// to release it immediately.
39-
char out[Proverbs_Uni_max_len];
39+
char out[Proverbs_Uni_max_len * 2];
4040

4141
Serial.write("Welcome\n");
4242
Serial.write("-------\n");

0 commit comments

Comments
 (0)