bryan
09/28/2017, 4:36 PMfun packet(): ByteArray =
ByteBuffer.allocate(6)
.putShort(temperatureSetPoint)
.put(position)
.put(isEnabled or (shouldResume shl 1))
.put(hysteresis)
.array()
Anyone know why AS would say shl
is an unresolved reference here?
isEnabled
and shouldResume
are both Byte