... | ... |
@@ -23,7 +23,7 @@ |
23 | 23 |
if (device_id > 0 and device_id <= size(zkv1000_devices)) { |
24 | 24 |
var device_name = zkv1000_devices[device_id - 1]; |
25 | 25 |
if (zkv1000_device_available(device_name)) |
26 |
- call(zkv1000.flightdeck[device_name].buttons[button], nil, zkv1000.flightdeck[device_name].buttons); |
|
26 |
+ call(zkv1000.flightdeck[device_name].buttons[button], [0], zkv1000.flightdeck[device_name].buttons); |
|
27 | 27 |
} |
28 | 28 |
} |
29 | 29 |
var zkv1000_turnKnob = func (device_id, knob, dir, display_name) { |