aboutsummaryrefslogtreecommitdiff
path: root/print.h
diff options
context:
space:
mode:
Diffstat (limited to 'print.h')
-rw-r--r--print.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/print.h b/print.h
index d61e5de3e..77290520e 100644
--- a/print.h
+++ b/print.h
@@ -1,9 +1,13 @@
1#ifndef PRINT_H__ 1#ifndef PRINT_H__
2#define PRINT_H__ 1 2#define PRINT_H__ 1
3 3
4#include <stdbool.h>
4#include <avr/pgmspace.h> 5#include <avr/pgmspace.h>
5#include "usb_debug.h" 6#include "usb_debug.h"
6 7
8
9bool print_enable;
10
7// this macro allows you to write print("some text") and 11// this macro allows you to write print("some text") and
8// the string is automatically placed into flash memory :) 12// the string is automatically placed into flash memory :)
9#define print(s) print_P(PSTR(s)) 13#define print(s) print_P(PSTR(s))