diff options
author | tmk <nobody@nowhere> | 2013-03-19 16:05:53 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-03-19 16:05:53 +0900 |
commit | 16870412679225d1a3b46c78928757deb713ae08 (patch) | |
tree | fe75031c2d2d8f316d11bdcec6901c437f19e48c /common/command.h | |
parent | 9a106537f64fe61af6048b41262f002ce6a716d9 (diff) | |
download | qmk_firmware-16870412679225d1a3b46c78928757deb713ae08.tar.gz qmk_firmware-16870412679225d1a3b46c78928757deb713ae08.zip |
Add COMMAND_ENABLE build option
Diffstat (limited to 'common/command.h')
-rw-r--r-- | common/command.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/command.h b/common/command.h index dafd4d0f38..be739fafe8 100644 --- a/common/command.h +++ b/common/command.h @@ -18,8 +18,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #ifndef COMMAND_H #define COMMAND +#ifdef COMMAND_ENABLE bool command_proc(uint8_t code); /* This allows to extend commands. Return 0 when command is not processed. */ bool command_extra(uint8_t code); +#else +#define command_proc(code) false +#endif #endif |