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