]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - print.h
added description of ADB socket pintouts.
[max/tmk_keyboard.git] / print.h
diff --git a/print.h b/print.h
index 1de618fbaabacb46d4fe2d0691d09ecd2ca108ff..77290520e9dc048e41819f944c549fdfcd41ca62 100644 (file)
--- a/print.h
+++ b/print.h
@@ -1,8 +1,12 @@
-#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"
+#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 :)
@@ -12,5 +16,7 @@
 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