1
0
Fork 0

Add property for FG1000 update rate

/instrumentation/FG1000/adc-update-frequency can optionally
be set to control the update frequency of the main ADC information.
Set to "0" to update every frame.
This commit is contained in:
Stuart Buchanan 2018-08-01 21:34:01 +01:00
parent 5d3206fa70
commit 6746e52f6d

View file

@ -28,8 +28,12 @@
var GenericADCPublisher =
{
new : func () {
# Update frequency can be controlled by a property.
var frequency = getprop("/instrumentation/FG1000/adc-update-frequency");
if (frequency == nil) frequency = 0.1;
new : func (frequency=0.1) {
var obj = {
parents : [
GenericADCPublisher,