@@ -39,8 +39,8 @@ void ProffieOSErrors::sd_card_not_found() {
3939
4040void ProffieOSErrors::font_directory_not_found () {
4141 SaberBase::DoEffect (EFFECT_FONT_DIRECTORY_NOT_FOUND, 0 );
42- if (SaberBase::sound_length > 0 ) return ;
4342#ifdef ENABLE_AUDIO
43+ if (SaberBase::sound_length > 0 ) return ;
4444#ifndef DISABLE_TALKIE
4545 talkie.Say (talkie_font_directory_15, 15 );
4646 talkie.Say (talkie_not_found_15, 15 );
@@ -60,9 +60,9 @@ void ProffieOSErrors::font_directory_not_found() {
6060
6161void ProffieOSErrors::error_in_blade_array () {
6262 SaberBase::DoEffect (EFFECT_ERROR_IN_BLADE_ARRAY, 0 );
63- if (SaberBase::sound_length > 0 ) return ;
6463 STDOUT.println (" BAD BLADE" );
6564#ifdef ENABLE_AUDIO
65+ if (SaberBase::sound_length > 0 ) return ;
6666#ifndef DISABLE_TALKIE
6767 talkie.Say (talkie_error_in_15, 15 );
6868 talkie.Say (talkie_blade_array_15, 15 );
@@ -83,8 +83,8 @@ void ProffieOSErrors::error_in_blade_array() {
8383
8484void ProffieOSErrors::error_in_font_directory () {
8585 SaberBase::DoEffect (EFFECT_ERROR_IN_FONT_DIRECTORY, 0 );
86- if (SaberBase::sound_length > 0 ) return ;
8786#ifdef ENABLE_AUDIO
87+ if (SaberBase::sound_length > 0 ) return ;
8888#ifndef DISABLE_TALKIE
8989 talkie.Say (talkie_error_in_15, 15 );
9090 talkie.Say (talkie_font_directory_15, 15 );
0 commit comments