]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - common/action_macro.c
Use dprint and dprintf for debug
[qmk_firmware.git] / common / action_macro.c
index 6d81a1efb46415619fc0fb90076c477819f9c86b..71d1506f5cabbe6e16392f8a0c6f1c9f4b105f7e 100644 (file)
@@ -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