1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-16 04:45:18 +03:00

GUI for async gyro mode

This commit is contained in:
Pawel Spychalski (DzikuVx) 2016-11-30 20:08:11 +01:00
parent b68f9a15c4
commit dace7d27d8
5 changed files with 117 additions and 24 deletions

View file

@ -407,6 +407,31 @@ var FC = {
}
};
},
getGyroFrequencies: function () {
return {
125: {
defaultLooptime: 1000,
looptimes: {
4000: "250Hz",
3000: "334Hz",
2000: "500Hz",
1500: "667Hz",
1000: "1kHz",
500: "2kHz",
250: "4kHz",
125: "8kHz"
}
},
1000: {
defaultLooptime: 1000,
looptimes: {
4000: "250Hz",
2000: "500Hz",
1000: "1kHz"
}
}
};
},
getGyroLpfValues: function () {
return [
{
@ -564,6 +589,12 @@ var FC = {
200: "200Hz",
400: "400Hz"
};
},
getAsyncModes: function () {
return [
'Disabled',
'Gyro',
'All'
]
}
};