1
0
Fork 0

Add COMMAND_ENABLE build option

This commit is contained in:
tmk 2013-03-19 16:05:53 +09:00
parent 9a106537f6
commit 1687041267
3 changed files with 10 additions and 1 deletions

View file

@ -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