]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - print.h
ADD: V-USB Circuit in README
[max/tmk_keyboard.git] / print.h
diff --git a/print.h b/print.h
index d6bb0aad2d5a3d55c4fe82441c8755c229999f12..78912df81b2dcbb484f756e36dc8956d986bbc0d 100644 (file)
--- a/print.h
+++ b/print.h
@@ -1,17 +1,20 @@
-#ifndef print_h__
-#define print_h__
+#ifndef PRINT_H__
+#define PRINT_H__ 1
 
+#include <stdbool.h>
 #include <avr/pgmspace.h>
-#include "usb_keyboard_debug.h"
+
+
+extern 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))
-#define pchar(c) usb_debug_putchar(c)
 
 void print_P(const char *s);
 void phex(unsigned char c);
 void phex16(unsigned int i);
 void pbin(unsigned char c);
+void pbin_reverse(unsigned char c);
 
 #endif