PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)

Revision:
4:ecf2fe370c1c
Parent:
0:e8b8f36b4505
Child:
5:ea7377f3d1af
--- a/Pokitto_settings.h	Tue Sep 19 13:29:14 2017 +0000
+++ b/Pokitto_settings.h	Tue Sep 19 13:42:25 2017 +0000
@@ -38,6 +38,8 @@
 #ifndef POKITTO_SETTINGS_H
 #define POKITTO_SETTINGS_H
 
+#include "My_settings.h"
+
 #ifdef PROJ_BOARDREV
  #define POK_BOARDREV PROJ_BOARDREV // which revision of Pokitto board
 #else
@@ -63,14 +65,18 @@
 #endif
 
 #ifndef PROJ_GBSOUND
-    #define POK_GBSOUND 0
+    #if POK_ENABLE_SOUND > 0
+        #define POK_GBSOUND 0
+    #endif
 #else
     #define POK_GBSOUND PROJ_GBSOUND
 #endif
 
 
 #ifndef PROJ_STREAMING_MUSIC
-    #define POK_STREAMING_MUSIC 1 // Define true to stream music from SD
+    #if POK_ENABLE_SOUND > 0
+        #define POK_STREAMING_MUSIC 1 // Define true to stream music from SD
+    #endif
 #else
     #define POK_STREAMING_MUSIC PROJ_STREAMING_MUSIC
 #endif // PROJ_STREAMING_MUSIC