From fe95dbe67c07c3f6864260b3031ca5d5e543c05d Mon Sep 17 00:00:00 2001 From: Changwoo Park Date: Tue, 25 Jun 2024 10:41:20 +0900 Subject: [PATCH] =?UTF-8?q?AO=20/=20MC9=20=ED=95=98=EB=82=98=EB=A7=8C=20?= =?UTF-8?q?=EC=82=AC=EC=9A=A9=20=EA=B0=80=EB=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FC_InterfaceBoard/FC_InterfaceBoard.h | 4 ++-- FC_InterfaceBoard/Processes.ino | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/FC_InterfaceBoard/FC_InterfaceBoard.h b/FC_InterfaceBoard/FC_InterfaceBoard.h index 1f20ba9..da29f64 100644 --- a/FC_InterfaceBoard/FC_InterfaceBoard.h +++ b/FC_InterfaceBoard/FC_InterfaceBoard.h @@ -8,8 +8,8 @@ // ------------------ #include "GP8403.h" -#define VERSION "23-12-20 09:57" -#define COMMENT "MC9: 2x2=4" +#define VERSION "240129 1044" +#define COMMENT "MC9 or AO init" #define AI_RANGE 10 #define AI_AVG_SIZE 20 diff --git a/FC_InterfaceBoard/Processes.ino b/FC_InterfaceBoard/Processes.ino index db32027..6288918 100644 --- a/FC_InterfaceBoard/Processes.ino +++ b/FC_InterfaceBoard/Processes.ino @@ -49,7 +49,7 @@ String Prcss_ALL_Read(){ str += RcvOK; str += "INIT?:"; - sprintf(formattedNumber, "%04X", ((unsigned int)(Init_AO & Init_MC9))); + sprintf(formattedNumber, "%04X", ((unsigned int)(Init_AO | Init_MC9))); str += formattedNumber; str += ','; str += RcvOK;