diff --git a/inc/qkey.h b/inc/qkey.h index be0240652c96e534c9ca5e917385327234ffd394..20aa9e67056674457dad7f658cb393d2fc943591 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 //按键阵列的行总数