X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=tmk_core%2Fprotocol%2Fxt.h;h=93bc5daf8221f0923617d7a067690f968338e66b;hb=0b1fbeb135040463e7779f4f2d7ac8cdcdd78657;hp=ef1bbfaf972161d4dccdce347955863118a44e50;hpb=9cee2723963013a7f3d7a70d3636af5d8c4e0ab0;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<