输入通道改为实际使用通道
编译后自动添加到数据库
This commit is contained in:
@@ -22,17 +22,17 @@
|
||||
|
||||
|
||||
// 定义输入通道别名
|
||||
//#define INPUT_STOP_KEY 0
|
||||
//#define INPUT_CHECK_KEY 1
|
||||
//#define INPUT_MARK_END 2
|
||||
//#define INPUT_POS_LEFT 6
|
||||
//#define INPUT_POS_RIGHT 7
|
||||
// 调试用输入通道别名
|
||||
#define INPUT_STOP_KEY 0
|
||||
#define INPUT_CHECK_KEY 1
|
||||
#define INPUT_MARK_END 2
|
||||
#define INPUT_POS_LEFT 3
|
||||
#define INPUT_POS_RIGHT 4
|
||||
#define INPUT_POS_LEFT 6
|
||||
#define INPUT_POS_RIGHT 7
|
||||
// 调试用输入通道别名
|
||||
//#define INPUT_STOP_KEY 0
|
||||
//#define INPUT_CHECK_KEY 1
|
||||
//#define INPUT_MARK_END 2
|
||||
//#define INPUT_POS_LEFT 3
|
||||
//#define INPUT_POS_RIGHT 4
|
||||
|
||||
|
||||
// 定义输出通道别名
|
||||
@@ -188,6 +188,7 @@ static void process_stop(void *arg)
|
||||
{
|
||||
self_def *s=arg;
|
||||
s->stop_state=1;
|
||||
SET_OUTPUT(OUTPUT_SHELL_BAFFLE,1);
|
||||
SET_LED_ERR();
|
||||
DBG_LOG("stop key pressed.");
|
||||
}
|
||||
|
Reference in New Issue
Block a user