optimisation: don't inline Sound_MakeCustom

Change in memory:
Flash: -32 bytes
SRAM: 0 bytes
This commit is contained in:
Guðni Már Gilbert 2023-02-11 11:16:16 +00:00 committed by DRracer
parent 7799853a05
commit e34faee389
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ Sound_SaveMode();
}
//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();
if (critical || eSoundMode != e_SOUND_MODE_SILENT) {
if(!tone_) {