update README.md.

This commit is contained in:
qmfr 2022-08-06 05:05:37 +00:00
parent 46c9b1f3b4
commit 9c086d16db
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ static xcmd_t cmds[] =
void test_cmd_init(void)
{
xcmd_register(cmds, sizeof(cmds)/sizeof(xcmd_t));
xcmd_cmd_register(cmds, sizeof(cmds)/sizeof(xcmd_t));
}
```
##### 注册自定义快捷键