``` fun packet(): ByteArray = ByteB...
# android
b
Copy code
fun 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