mirror of
https://github.com/stagehacks/Cue-View.git
synced 2026-07-26 09:18:39 +00:00
faster heartbeat for more frequent full draws
most of the device's UI isn't drawn until a full draw comes around, should do that more frequently
This commit is contained in:
@@ -3,8 +3,8 @@ const Channel = require('./channel');
|
||||
exports.config = {
|
||||
defaultName: 'Shure Wireless',
|
||||
connectionType: 'TCPsocket',
|
||||
heartbeatInterval: 30000,
|
||||
heartbeatTimeout: 35000,
|
||||
heartbeatInterval: 5000,
|
||||
heartbeatTimeout: 10000,
|
||||
defaultPort: 2202,
|
||||
mayChangePort: false,
|
||||
searchOptions: {
|
||||
@@ -20,13 +20,7 @@ exports.config = {
|
||||
exports.ready = function ready(_device) {
|
||||
const device = _device;
|
||||
device.data.channelCount = 0;
|
||||
device.data.channels = [
|
||||
{},
|
||||
new Channel(),
|
||||
new Channel(),
|
||||
new Channel(),
|
||||
new Channel(),
|
||||
];
|
||||
device.data.channels = [{}, new Channel(), new Channel(), new Channel(), new Channel()];
|
||||
};
|
||||
|
||||
exports.data = function data(_device, message) {
|
||||
|
||||
Reference in New Issue
Block a user