Updated Lua Scripting (markdown)

This commit is contained in:
Matthew Kennedy 2021-04-29 11:43:57 -07:00
parent be2fbde033
commit b5ad75d85b
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ end
### Controlling the Tick Rate
The function `setTickRate(hz)` can be used to configure how often rusEFI calls the `onTick` function. If your script does a lot of work in the `onTick()` function it may run slower than the desired rate.
The function `setTickRate(hz)` can be used to configure how often rusEFI calls the `onTick` function. If your script does a lot of work in the `onTick()` function it may run slower than the desired rate. Since the Lua virtual machine runs at low priority compared to other functions of the ECU, it is impossible to swamp the ECU with too much Lua work, so set the tick rate to whatever is necessary.
# Function Reference