diff options
author | tmk <nobody@nowhere> | 2013-05-14 16:18:22 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-05-14 16:19:40 +0900 |
commit | ff2d276b193632136c785d92ed01df48aea8461f (patch) | |
tree | bd8e7c789fbb7f191b4de31498160f05d2f80229 /common/action_macro.c | |
parent | d9c06db60006e2191d8b86e34f651644a54426b4 (diff) | |
download | firmware-ff2d276b193632136c785d92ed01df48aea8461f.tar.gz firmware-ff2d276b193632136c785d92ed01df48aea8461f.tar.bz2 firmware-ff2d276b193632136c785d92ed01df48aea8461f.zip |
Use dprint and dprintf for debug
Diffstat (limited to 'common/action_macro.c')
-rw-r--r-- | common/action_macro.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/common/action_macro.c b/common/action_macro.c index 6d81a1efb..71d1506f5 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 |