mirror of
https://github.com/openstf/stf
synced 2025-10-05 02:29:26 +02:00
Fix VNC endianness check.
This commit is contained in:
parent
8625a6db23
commit
3b89196cc3
1 changed files with 1 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue