X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=print.h;h=78912df81b2dcbb484f756e36dc8956d986bbc0d;hb=cec254950509038ca9c805e87feea9091d77d29f;hp=5d0f2eb902d265aa9fabc07352f439d61fa709bc;hpb=3b31337cd8a5fe8b02924f2056ad2648a028c563;p=max%2Ftmk_keyboard.git diff --git a/print.h b/print.h index 5d0f2eb9..78912df8 100644 --- a/print.h +++ b/print.h @@ -1,13 +1,15 @@ -#ifndef print_h__ -#define print_h__ +#ifndef PRINT_H__ +#define PRINT_H__ 1 +#include #include -#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);