Commit 0ea7fe8a authored by 何锐's avatar 何锐

feat:增加上下电按键

parent 3363934b
...@@ -52,16 +52,14 @@ void Key_Operation_SW7(Key_Event_en_t enKeyEvent) //上下ACC电 ...@@ -52,16 +52,14 @@ void Key_Operation_SW7(Key_Event_en_t enKeyEvent) //上下ACC电
{ {
if ( enKeyEvent == KEY_EVENT_SHORT_PRESS ) if ( enKeyEvent == KEY_EVENT_SHORT_PRESS )
{ {
// if(RELAY_KEY_MCU == 1) if(RELAY_KEY_MCU == 1)
// { {
// RELAY_KEY_MCU = 0; RELAY_KEY_MCU = 0;
// } }
// else else
// { {
// RELAY_KEY_MCU = 1; RELAY_KEY_MCU = 1;
// } }
} }
else if ( enKeyEvent == KEY_EVENT_LONG_PRESS ) else if ( enKeyEvent == KEY_EVENT_LONG_PRESS )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment