From 706401d0cc30f61fbd34dd8a0bfe7ef2b7b201e0 Mon Sep 17 00:00:00 2001 From: Craig Disselkoen Date: Fri, 6 Oct 2017 21:17:11 -0700 Subject: [PATCH] Add deprecation message for END Note: END has officially been deprecated since commit ebd9f35 on Jul 22 --- src/MacroSteps.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MacroSteps.h b/src/MacroSteps.h index 79e88f36..f3e668f2 100644 --- a/src/MacroSteps.h +++ b/src/MacroSteps.h @@ -35,4 +35,4 @@ typedef uint8_t macro_t; #define Uc(k) MACRO_ACTION_STEP_KEYCODEUP, (Key_ ## k).keyCode #define Tc(k) MACRO_ACTION_STEP_TAPCODE, (Key_ ## k).keyCode -#define END MACRO_ACTION_END +__attribute__((deprecated("END is no longer required to end macros"))) const MacroActionStepType END = MACRO_ACTION_END;