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

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

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

Loading…
Cancel
Save