summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorjpetermans <tibcmhhm@gmail.com>2017-05-08 16:17:40 -0700
committerjpetermans <tibcmhhm@gmail.com>2017-05-08 16:17:40 -0700
commitd1ff2bb9db68b899dbd02d1cdf036551b38dccdc (patch)
treed631ecb515ec4255900646a19183adf9f2d84d46 /keyboards
parent821f72eae94ce4f1b93bab1376b2187698206b65 (diff)
readme fix
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/infinity60/keymaps/jpetermans/readme.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/infinity60/keymaps/jpetermans/readme.md b/keyboards/infinity60/keymaps/jpetermans/readme.md
index fcad4b140a..4657a84c07 100644
--- a/keyboards/infinity60/keymaps/jpetermans/readme.md
+++ b/keyboards/infinity60/keymaps/jpetermans/readme.md
@@ -73,14 +73,14 @@ chMBPost(&led_mailbox, message, timeout);
An example:
1. set the message to be sent. First byte (LSB) is the led address, and second is the message type
- *`msg=(ON_LED << 8) | 42;`
+ * `msg=(ON_LED << 8) | 42;`
2. send msg to the led mailbox
- *`chMBPost(&led_mailbox, msg, TIME_IMMEDIATE);`
+ * `chMBPost(&led_mailbox, msg, TIME_IMMEDIATE);`
Another:
- *`msg=(BLINK_TOGGLE_LED << 8) | 46;`
- *`chMBPost(&led_mailbox, msg, TIME_IMMEDIATE);`
+ * `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);`
+ * `msg=(row<<16) | (SET_FULL_ROW << 8) | (led_pin_byte);`
+ * `chMBPost(&led_mailbox, msg, TIME_IMMEDIATE);`