From 4550941ff90566737076756799961ac681a9744f Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 24 Jul 2017 14:01:00 -0700 Subject: [PATCH] keyToggledO* camelcasing --- README.md | 2 +- examples/GhostInTheFirmware/GhostInTheFirmware.ino | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 74ce3704..8c082f26 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ that. #include const macro_t *macroAction(uint8_t macro_index, uint8_t key_state) { - if (macro_index == 0 && key_toggled_on(key_state)) + if (macro_index == 0 && keyToggledOn(key_state)) GhostInTheFirmware.activate(); return MACRO_NONE; diff --git a/examples/GhostInTheFirmware/GhostInTheFirmware.ino b/examples/GhostInTheFirmware/GhostInTheFirmware.ino index 81d41ea9..d3a08ddc 100644 --- a/examples/GhostInTheFirmware/GhostInTheFirmware.ino +++ b/examples/GhostInTheFirmware/GhostInTheFirmware.ino @@ -45,7 +45,7 @@ static Key eventDropper(Key, byte, byte, uint8_t) { } const macro_t *macroAction(uint8_t macro_index, uint8_t key_state) { - if (macro_index == 0 && key_toggled_on(key_state)) + if (macro_index == 0 && keyToggledOn(key_state)) GhostInTheFirmware.activate(); return MACRO_NONE;