X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=tmk_core%2Fprotocol%2Fxt.h;h=93bc5daf8221f0923617d7a067690f968338e66b;hb=43a46c8d280a93bbd4dc5a8c45e1a6bc68e0b38d;hp=ef1bbfaf972161d4dccdce347955863118a44e50;hpb=fd38f04ead8f75b4070aa6e1c2fc05a53536f465;p=max%2Ftmk_keyboard.git diff --git a/tmk_core/protocol/xt.h b/tmk_core/protocol/xt.h index ef1bbfaf..93bc5daf 100644 --- a/tmk_core/protocol/xt.h +++ b/tmk_core/protocol/xt.h @@ -1,5 +1,5 @@ /* -Copyright 2010,2011,2012,2013 Jun WAKO +Copyright 2018 Jun WAKO Copyright 2016 Ethan Apodaca This software is licensed with a Modified BSD License. @@ -39,22 +39,33 @@ POSSIBILITY OF SUCH DAMAGE. #ifndef XT_H #define XT_H -#include -#include "wait.h" -#include "xt_io.h" -#include "print.h" +#define XT_DATA_IN() do { \ + XT_DATA_DDR &= ~(1<