summaryrefslogtreecommitdiff
path: root/common/action_macro.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/action_macro.c')
-rw-r--r--common/action_macro.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/common/action_macro.c b/common/action_macro.c
index 6d81a1efb4..71d1506f5c 100644
--- a/common/action_macro.c
+++ b/common/action_macro.c
@@ -15,10 +15,15 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <util/delay.h>
-#include "debug.h"
#include "action.h"
#include "action_macro.h"
+#ifdef DEBUG_ACTION
+#include "debug.h"
+#else
+#include "nodebug.h"
+#endif
+
#ifndef NO_ACTION_MACRO