pull/8/head
Jaup 9 years ago
parent 0230c291b4
commit afd2e0d7bd

@ -2,7 +2,7 @@
* Copyright (c) 2016 Zibin Zheng <znbin@qq.com> * Copyright (c) 2016 Zibin Zheng <znbin@qq.com>
* All rights reserved * All rights reserved
*/ */
#include "button.h" #include "button.h"
//MultiButton //MultiButton
@ -110,7 +110,7 @@ void button_handler(struct Button* handle)
} else if(handle->button_level == handle->active_level) { //press again } else if(handle->button_level == handle->active_level) { //press again
handle->state = 3; handle->state = 3;
} }
break; break;
case 3: //repeat press pressing case 3: //repeat press pressing
if(handle->button_level != handle->active_level) { //double releasd if(handle->button_level != handle->active_level) { //double releasd

@ -26,7 +26,6 @@ struct Button {
struct Button* next; struct Button* next;
}; };
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif

Loading…
Cancel
Save