From c6b2a1f8159a182f3e9502cc53342eb868d83789 Mon Sep 17 00:00:00 2001 From: bsongis Date: Sun, 8 Jul 2012 08:52:22 +0000 Subject: [PATCH] c9x compil --- src/ersky9x/audio.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ersky9x/audio.cpp b/src/ersky9x/audio.cpp index 86d575fa8..0d51aaa18 100644 --- a/src/ersky9x/audio.cpp +++ b/src/ersky9x/audio.cpp @@ -619,6 +619,8 @@ void audioEvent(uint8_t e, uint8_t f) void pushPrompt(uint16_t prompt) { +#if defined(SDCARD) + char filename[] = SYSTEM_SOUNDS_PATH "/0000" SOUNDS_EXT; for (int8_t i=3; i>=0; i--) { @@ -627,4 +629,6 @@ void pushPrompt(uint16_t prompt) } audioQueue.playFile(filename); + +#endif }