summaryrefslogtreecommitdiffstats
path: root/keyboards/infinity60
diff options
context:
space:
mode:
authorjpetermans <tibcmhhm@gmail.com>2017-05-09 01:28:04 +0200
committerjpetermans <tibcmhhm@gmail.com>2017-05-09 01:28:04 +0200
commit16774333ad47ada2367b5ca283d0af5060ff8415 (patch)
tree4e92658ecf9465ca40e1e64c856f03f2a37c5f35 /keyboards/infinity60
parent5fc5661147e4e8bec8a52a8691ac1df2fedd3558 (diff)
downloadqmk_firmware-16774333ad47ada2367b5ca283d0af5060ff8415.tar.gz
qmk_firmware-16774333ad47ada2367b5ca283d0af5060ff8415.tar.xz
last readme fix
Diffstat (limited to 'keyboards/infinity60')
-rw-r--r--keyboards/infinity60/keymaps/jpetermans/readme.md12
1 files changed, 8 insertions, 4 deletions
diff --git a/keyboards/infinity60/keymaps/jpetermans/readme.md b/keyboards/infinity60/keymaps/jpetermans/readme.md
index 2e0edeacd..7e60a7f0d 100644
--- a/keyboards/infinity60/keymaps/jpetermans/readme.md
+++ b/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);
+```