1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-30 15:26:18 +00:00

Allow ENABLED(b) to work with "true" and "false"

This commit is contained in:
Scott Lahteine 2016-03-13 22:15:01 -07:00
parent f4a3efd35e
commit 73a59a4e45

View File

@ -17,6 +17,8 @@
// Macros to support option testing
#define _CAT(a, ...) a ## __VA_ARGS__
#define SWITCH_ENABLED_false 0
#define SWITCH_ENABLED_true 1
#define SWITCH_ENABLED_0 0
#define SWITCH_ENABLED_1 1
#define SWITCH_ENABLED_ 1