From cb85075bfe640c70be1c88aa1475f4af8f35b7c8 Mon Sep 17 00:00:00 2001 From: Jaup <270995079@qq.com> Date: Sat, 3 Sep 2016 06:25:54 +0000 Subject: [PATCH] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e640b28..562872b 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ button_init(&button1, read_button_pin, 0); 3.注册按键事件 ``` -button_attach(&button1, SINGLE_CLICK, Callback_SINGLE_CLICK_Handler); +button_attach(&button1, CLICK, Callback_CLICK_Handler); button_attach(&button1, DOUBLE_CLICK, Callback_DOUBLE_Click_Handler); ... ```