aboutsummaryrefslogtreecommitdiff
path: root/Model01-Firmware.ino
diff options
context:
space:
mode:
authorJesse Vincent <jesse@keyboard.io>2017-10-02 18:48:39 -0700
committerJesse Vincent <jesse@keyboard.io>2017-10-02 18:48:39 -0700
commit6bdef3675b42fceda8dbf62bf639361c3c00f3ce (patch)
tree67bc30014433e02ce92f52d76b26814645738792 /Model01-Firmware.ino
parentdecompose a conditional to make it easier to read and refactor (diff)
downloadkeyboardio-model01-6bdef3675b42fceda8dbf62bf639361c3c00f3ce.tar.gz
keyboardio-model01-6bdef3675b42fceda8dbf62bf639361c3c00f3ce.tar.bz2
keyboardio-model01-6bdef3675b42fceda8dbf62bf639361c3c00f3ce.zip
replace a magic seeming constant with a macro
Diffstat (limited to 'Model01-Firmware.ino')
-rw-r--r--Model01-Firmware.ino2
1 files changed, 1 insertions, 1 deletions
diff --git a/Model01-Firmware.ino b/Model01-Firmware.ino
index 1be0fcc..9216482 100644
--- a/Model01-Firmware.ino
+++ b/Model01-Firmware.ino
@@ -97,7 +97,7 @@ static kaleidoscope::LEDSolidColor solidIndigo(0, 0, 170);
static kaleidoscope::LEDSolidColor solidViolet(130, 0, 120);
const macro_t *macroAction(uint8_t macroIndex, uint8_t keyState) {
- if (macroIndex == 1) {
+ if (macroIndex == MACRO_VERSION_INFO) {
if (keyToggledOn(keyState)) {
Macros.type(PSTR("Keyboardio Model 01 - Kaleidoscope "));
Macros.type(PSTR(BUILD_INFORMATION));