Merge pull request #345 from mi-hol/master
changed unknown term "autoboxed" to "converted"
This commit is contained in:
commit
9a25d418b1
|
@ -432,9 +432,9 @@ function onTick()
|
||||||
voltage0 = getSensor("aux0")
|
voltage0 = getSensor("aux0")
|
||||||
|
|
||||||
txPayload = {}
|
txPayload = {}
|
||||||
// first byte: integer part, would be autoboxed to int
|
// first byte: integer part, would be converted to int
|
||||||
txPayload[1] = voltage0
|
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;
|
txPayload[2] = voltage0 * 256;
|
||||||
|
|
||||||
txCan(1, 0x600, 1, txPayload)
|
txCan(1, 0x600, 1, txPayload)
|
||||||
|
|
Loading…
Reference in New Issue