mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Fix VNC endianness check.
This commit is contained in:
@@ -238,7 +238,7 @@ module.exports = syrup.serial()
|
||||
})
|
||||
|
||||
conn.on('formatchange', function(format) {
|
||||
var same = os.endianness() === 'BE' === format.bigEndianFlag
|
||||
var same = os.endianness() === 'BE' === !!format.bigEndianFlag
|
||||
switch (format.bitsPerPixel) {
|
||||
case 8:
|
||||
connState.frameConfig = {
|
||||
|
||||
Reference in New Issue
Block a user