From 4acc38751e9c8e90921773e6e5f5a100b0729d98 Mon Sep 17 00:00:00 2001 From: tmk Date: Sun, 24 Oct 2010 03:27:43 +0900 Subject: switch debug on/off by pressing 4 keys on booting time --- print.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'print.h') diff --git a/print.h b/print.h index d61e5de3e0..77290520e9 100644 --- a/print.h +++ b/print.h @@ -1,9 +1,13 @@ #ifndef PRINT_H__ #define PRINT_H__ 1 +#include #include #include "usb_debug.h" + +bool print_enable; + // this macro allows you to write print("some text") and // the string is automatically placed into flash memory :) #define print(s) print_P(PSTR(s)) -- cgit v1.2.3