瀏覽代碼

Merge pull request #474 from douliyang/patch-6

Fix a typo
0xAX 8 年之前
父節點
當前提交
36916ad574
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Timers/timers-3.md

+ 1 - 1
Timers/timers-3.md

@@ -162,7 +162,7 @@ Note, that the `tick_device` structure contains two fields. The first field - `e
 The second field of the `tick_device` structure represents mode of the `tick_device`. As we already know, the mode can be one of the:
 
 ```C
-num tick_device_mode {
+enum tick_device_mode {
         TICKDEV_MODE_PERIODIC,
         TICKDEV_MODE_ONESHOT,
 };