Merge pull request #2383 from haslinghuis/fix_virtualfc

Fix VirtualFC TypeError
10.8-maintenance
Michael Keller 2021-01-16 10:58:37 +08:00 committed by GitHub
commit 5444ce37c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -19,7 +19,11 @@ const VirtualFC = {
virtualFC.MIXER_CONFIG.mixer = 3;
virtualFC.MOTOR_DATA = Array.from({length: 8});
virtualFC.MOTOR_3D_CONFIG = true;
virtualFC.MOTOR_3D_CONFIG = {
deadband3d_low: 1406,
deadband3d_high: 1514,
neutral: 1460,
};
virtualFC.MOTOR_CONFIG = {
minthrottle: 1070,
maxthrottle: 2000,