Lua CAN relay performance #3911

This commit is contained in:
rusefillc 2022-02-10 20:00:52 -05:00
parent d31a556d2e
commit f3a009c0ea
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@ function twoBytes(data, offset, factor)
return (data[offset + 2] * 256 + data[offset + 1]) * factor
end
-- this controls onCanRx rate as well!
setTickRate(300)
--
-- crazy copy-pasta, at some point move to sets/bags