optimisation: don't inline Sound_MakeCustom
Change in memory: Flash: -32 bytes SRAM: 0 bytes
This commit is contained in:
parent
7799853a05
commit
e34faee389
|
|
@ -63,7 +63,7 @@ Sound_SaveMode();
|
||||||
}
|
}
|
||||||
|
|
||||||
//if critical is true then silend and once mode is ignored
|
//if critical is true then silend and once mode is ignored
|
||||||
void Sound_MakeCustom(uint16_t ms,uint16_t tone_,bool critical){
|
void __attribute__((noinline)) Sound_MakeCustom(uint16_t ms,uint16_t tone_,bool critical){
|
||||||
backlight_wake();
|
backlight_wake();
|
||||||
if (critical || eSoundMode != e_SOUND_MODE_SILENT) {
|
if (critical || eSoundMode != e_SOUND_MODE_SILENT) {
|
||||||
if(!tone_) {
|
if(!tone_) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue