Fix template dir and data file dir to match new templating.
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Thu, 15 Jun 2017 13:43:42 +0000 (15:43 +0200)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Thu, 15 Jun 2017 13:43:54 +0000 (15:43 +0200)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
conf.d/config.cmake
htdocs/unicens.html

index 1bca0a3..e9b5cd5 100644 (file)
@@ -29,6 +29,10 @@ set(PROJECT_AUTHOR_MAIL "fulup@iot.bzh")
 set(PROJECT_LICENCE "Apache-V2")
 set(PROJECT_LANGUAGES,"C")
 
+# Where are stored default templates files from submodule or subtree app-templates in your project tree
+# relative to the root project directory
+set(PROJECT_APP_TEMPLATES_DIR "conf.d/templates")
+
 # Compilation Mode (DEBUG, RELEASE)
 # ----------------------------------
 set(CMAKE_BUILD_TYPE "DEBUG")
index fc56b06..db49baf 100644 (file)
@@ -11,7 +11,7 @@
     <button id="connected" onclick="init()">Binder WS Fail</button></li>
     <br>
     <ol>
-    <li><button onclick="callbinder('unicens','initialise', {filename:'data/config.ucsx'})">Parse Config.ucsx</button></li>
+    <li><button onclick="callbinder('unicens','initialise', {filename:'data/ucs2_config/config.ucsx'})">Parse Config.ucsx</button></li>
     <li><button onclick="callbinder('unicens','setvol', {channel:'master', volume: 255})">Set Master Volume to 255</button></li>
     <li><button onclick="callbinder('unicens','setvol', {channel:'master', volume: 200})">Set Master Volume to 200</button></li>
     <li><button onclick="callbinder('unicens','setvol', [[0,200], [1,255]])">Set left=200 right=250</button></li>