You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This problem exists even with the setting "C_Cpp.enhancedColorization": "Disabled"
The code with a problem is:
void startup_sound() {
#ifndef LITE_VERSION
#ifdef BUZZ_PIN
// Bip M5 just because it can. Does not bip if splashscreen is bypassed
_tone(5000, 50);
delay(200);
_tone(5000, 50);
/* 2fix: menu infinite loop */
#elifdef HAS_NS4168_SPKR
// play a boot sound
if(SD.exists("/boot.wav")) playAudioFile(&SD, "/boot.wav");
else if(LittleFS.exists("/boot.wav")) playAudioFile(&LittleFS, "/boot.wav");
#endif
#endif
}
elifdef and elifndef directive are ignored
It looks like:
It should look like:
The text was updated successfully, but these errors were encountered:
Checklist
"C_Cpp.enhancedColorization": "Disabled"
The code with a problem is:
elifdef and elifndef directive are ignored
It looks like:
It should look like:
The text was updated successfully, but these errors were encountered: