Digital_Amplifier.ino:24: warning: only initialized variables can be placed into program memory area
Digital_Amplifier.ino:43: warning: only initialized variables can be placed into program memory area
I keep getting these warnings when I compile my sketch that has a pair of PROGMEM lookup tables. Here are the relevant tables:
// **************************************
// Lookup Tables
// **************************************
prog_uint8_t volume_table[16] PROGMEM = {
0,
2,
3,
4,
5,
7,
9,
13,
17,
23,
30,
40,
53,
71,
95,
127
};
prog_uint8_t tone_table[13] PROGMEM = {
0,
10,
21,
31,
42,
53,
64,
74,
85,
95,
106,
116,
127
};
The sketch works just fine despite these warnings. Is there some bug I should be worried about, or can I safely ignore these warnings?