aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--DEVELOPMENT.md2
-rw-r--r--configs/layering.cfg4
2 files changed, 4 insertions, 2 deletions
diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md
index 495c4f9..79005a9 100644
--- a/DEVELOPMENT.md
+++ b/DEVELOPMENT.md
@@ -34,6 +34,8 @@ in spirit rather than by the letter.
* Prefer to name unsigned loop counters `u` and signed ones `i`
* Place comments above the section they are commenting on
* Use inline comments sparingly
+* Do not omit '{}' brackets, even if optional (e.g. single-statement conditional bodies)
+* Opening braces stay on the same line as the condition
#### C specific
diff --git a/configs/layering.cfg b/configs/layering.cfg
index b71f9e5..f312a65 100644
--- a/configs/layering.cfg
+++ b/configs/layering.cfg
@@ -7,7 +7,7 @@
bind = 0.0.0.0
[midi in]
-read = BCF
+read = Launch Control
[artnet out]
destination = 255.255.255.255
@@ -18,7 +18,7 @@ script = layering.lua
default-handler = handler
[map]
-in.ch1.cc{1..8} > layers.in{0..7}
+in.ch1.cc{0..15} > layers.{0..15}
layers.out{0..511} > out.{1..512}
in.ch0.note0 > layers.control