This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HIDPacket.prototype.createOutput = function (group, name, offset, pack, | |
callback, trigger) { | |
this.addOutput(group, name, offset, pack); | |
var field = this.getFieldByOffset(offset,pack); | |
if (callback === undefined || callback === null) { | |
callback = function (value, group, control) { | |
field.value = value << field.bit_offset; | |
field.toggle = value << field.bit_offset; | |
field.packet.send(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running with expanded trace output on. | |
-- The CXX compiler identification is AppleClang 12.0.5.12050022 | |
-- The C compiler identification is AppleClang 12.0.5.12050022 | |
-- The ASM compiler identification is Clang | |
-- Found assembler: /Library/Developer/CommandLineTools/usr/bin/cc | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done |