Merge pull request #19 from HappyFacade/patch-1

Add missing syntax highlighting to readme
This commit is contained in:
Murphy 2020-04-12 17:34:21 +08:00 committed by GitHub
commit 05405a51c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ INIT_APP_EXPORT(flex_button_main);
`user_button_init();` 初始化代码如下所示: `user_button_init();` 初始化代码如下所示:
``` ```C
static void user_button_init(void) static void user_button_init(void)
{ {
int i; int i;
@ -184,7 +184,7 @@ typedef enum
### 按键数据结构 ### 按键数据结构
``` ```C
typedef struct flex_button typedef struct flex_button
{ {
struct flex_button* next; struct flex_button* next;