mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Robot_Control: Update PROGMEM for compatibily with newer gcc
This commit is contained in:
@ -13,7 +13,7 @@ class StreamFile : public SquawkStream {
|
||||
|
||||
static StreamFile file;
|
||||
|
||||
extern uint16_t period_tbl[84] PROGMEM;
|
||||
extern const uint16_t period_tbl[84] PROGMEM;
|
||||
|
||||
void SquawkSynthSD::play(Fat16 melody) {
|
||||
SquawkSynth::pause();
|
||||
@ -179,4 +179,4 @@ void SquawkSynthSD::convert(Fat16 in, Fat16 out) {
|
||||
out.write(note[2] | (sample[2] == 0 ? 0x00 : 0x80));
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}*/
|
||||
|
Reference in New Issue
Block a user