merge rusEFI wiki

This commit is contained in:
GitHub Action 2022-08-22 03:19:38 +00:00
commit 5c74b96585
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ use enableCanTx(false) to suppress CAN TX
- Parameters
- id: CAN ID to listen to.
- mask: Apply a mask to the received ID before comparing to the `id` parameter. For example, passing an id of `3` and mask of 0xFF will match any frame whose last 8 bits match `3`. If omitted, no masking is applied before comparison, so only a single CAN ID will be received. Use the mask to subscribe to multiple messages with similar IDs with a single call to `canRxAddMask`.
- bus: Hardware CAN bus index, only '1' on must rusEFI boards, '1' or '2' on Proteus. If this parameter is omitted, messages will be received from any bus.
- bus: Hardware CAN bus index, only '1' on most rusEFI boards, '1' or '2' on Proteus. If this parameter is omitted, messages will be received from any bus.
- callback: A the callback function to call when the specified ID is received. If this parameter is not passed, the default function `onCanRx` will be used.
Your CAN RX callback should look like this: