diff options
author | tmk <nobody@nowhere> | 2010-10-24 03:27:43 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2010-10-24 03:33:08 +0900 |
commit | 4acc38751e9c8e90921773e6e5f5a100b0729d98 (patch) | |
tree | e8e650c6c0557871f55c39b6449a0cc2479fbf58 /print.h | |
parent | bf92bdd7fa9938c162c29e565d245e5609e4a912 (diff) |
switch debug on/off by pressing 4 keys on booting time
Diffstat (limited to 'print.h')
-rw-r--r-- | print.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,9 +1,13 @@ #ifndef PRINT_H__ #define PRINT_H__ 1 +#include <stdbool.h> #include <avr/pgmspace.h> #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)) |