From 277d7a2067b2fbc0670c195a8eb15174d1b4fb1e Mon Sep 17 00:00:00 2001 From: Maihuanyi <‘m19825309307@163.comgit config --global user.email ‘m19825309307@163.com> Date: Sat, 13 Aug 2022 12:57:31 +0800 Subject: [PATCH] repair QKEY_ARRAY_PIN_FIRST in rtconfig.h is invalid --- inc/qkey.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/qkey.h b/inc/qkey.h index be02406..20aa9e6 100644 --- a/inc/qkey.h +++ b/inc/qkey.h @@ -65,7 +65,9 @@ void qkey_remove(int pin); #ifdef QKEY_USING_ARRAY +#ifndef QKEY_ARRAY_PIN_FIRST #define QKEY_ARRAY_PIN_FIRST 256 //按键阵列事件回调的第1个引脚号 +#endif #ifndef QKEY_ARRAY_ROW_TOTAL #define QKEY_ARRAY_ROW_TOTAL 4 //按键阵列的行总数 -- Gitee