diff options
| author | jpetermans <tibcmhhm@gmail.com> | 2017-05-08 16:17:40 -0700 |
|---|---|---|
| committer | jpetermans <tibcmhhm@gmail.com> | 2017-05-08 16:17:40 -0700 |
| commit | d1ff2bb9db68b899dbd02d1cdf036551b38dccdc (patch) | |
| tree | d631ecb515ec4255900646a19183adf9f2d84d46 | |
| parent | 821f72eae94ce4f1b93bab1376b2187698206b65 (diff) | |
| download | qmk_firmware-d1ff2bb9db68b899dbd02d1cdf036551b38dccdc.tar.gz qmk_firmware-d1ff2bb9db68b899dbd02d1cdf036551b38dccdc.zip | |
readme fix
| -rw-r--r-- | keyboards/infinity60/keymaps/jpetermans/readme.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/infinity60/keymaps/jpetermans/readme.md b/keyboards/infinity60/keymaps/jpetermans/readme.md index fcad4b140..4657a84c0 100644 --- a/keyboards/infinity60/keymaps/jpetermans/readme.md +++ b/keyboards/infinity60/keymaps/jpetermans/readme.md | |||
| @@ -73,14 +73,14 @@ chMBPost(&led_mailbox, message, timeout); | |||
| 73 | 73 | ||
| 74 | An example: | 74 | An example: |
| 75 | 1. set the message to be sent. First byte (LSB) is the led address, and second is the message type | 75 | 1. set the message to be sent. First byte (LSB) is the led address, and second is the message type |
| 76 | *`msg=(ON_LED << 8) | 42;` | 76 | * `msg=(ON_LED << 8) | 42;` |
| 77 | 2. send msg to the led mailbox | 77 | 2. send msg to the led mailbox |
| 78 | *`chMBPost(&led_mailbox, msg, TIME_IMMEDIATE);` | 78 | * `chMBPost(&led_mailbox, msg, TIME_IMMEDIATE);` |
| 79 | 79 | ||
| 80 | Another: | 80 | Another: |
| 81 | *`msg=(BLINK_TOGGLE_LED << 8) | 46;` | 81 | * `msg=(BLINK_TOGGLE_LED << 8) | 46;` |
| 82 | *`chMBPost(&led_mailbox, msg, TIME_IMMEDIATE);` | 82 | * `chMBPost(&led_mailbox, msg, TIME_IMMEDIATE);` |
| 83 | 83 | ||
| 84 | Finally, SET_FULL_ROW requires an extra byte with row information in the message so sending this message looks like: | 84 | Finally, SET_FULL_ROW requires an extra byte with row information in the message so sending this message looks like: |
| 85 | *`msg=(row<<16) | (SET_FULL_ROW << 8) | (led_pin_byte);` | 85 | * `msg=(row<<16) | (SET_FULL_ROW << 8) | (led_pin_byte);` |
| 86 | *`chMBPost(&led_mailbox, msg, TIME_IMMEDIATE);` | 86 | * `chMBPost(&led_mailbox, msg, TIME_IMMEDIATE);` |
