Merge pull request #345 from mi-hol/master

changed unknown term "autoboxed" to "converted"
This commit is contained in:
mi-hol 2023-01-03 17:47:56 +01:00 committed by GitHub
commit 9a25d418b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -432,9 +432,9 @@ function onTick()
voltage0 = getSensor("aux0")
txPayload = {}
// first byte: integer part, would be autoboxed to int
// first byte: integer part, would be converted to int
txPayload[1] = voltage0
// second byte: fractional part, would be autoboxed to int, overflow would be ignored
// second byte: fractional part, would be converted to int, overflow would be ignored
txPayload[2] = voltage0 * 256;
txCan(1, 0x600, 1, txPayload)