Browse Source

last readme fix

jpetermans 8 năm trước cách đây
mục cha
commit
16774333ad
1 tập tin đã thay đổi với 8 bổ sung4 xóa
  1. 8 4
      keyboards/infinity60/keymaps/jpetermans/readme.md

+ 8 - 4
keyboards/infinity60/keymaps/jpetermans/readme.md

@@ -78,9 +78,13 @@ An example:
     * `chMBPost(&led_mailbox, msg, TIME_IMMEDIATE);`
 
 Another:
-- `msg=(BLINK_TOGGLE_LED << 8) | 46;`
-- `chMBPost(&led_mailbox, msg, TIME_IMMEDIATE);`
+```c
+msg=(BLINK_TOGGLE_LED << 8) | 46;
+chMBPost(&led_mailbox, msg, TIME_IMMEDIATE);
+```
 
 Finally, SET_FULL_ROW requires an extra byte with row information in the message so sending this message looks like:
-- `msg=(row<<16) | (SET_FULL_ROW << 8) | (led_pin_byte);`
-- `chMBPost(&led_mailbox, msg, TIME_IMMEDIATE);`
+```c
+msg=(row<<16) | (SET_FULL_ROW << 8) | (led_pin_byte);
+chMBPost(&led_mailbox, msg, TIME_IMMEDIATE);
+```