@@ -817,6 +817,10 @@ void msp_cmd_tx() {
817817 msp_send_cmd_tx (MSP_FC_VARIANT );
818818 } else if ((fc_lock & FC_VTX_CONFIG_LOCK ) == 0 ) {
819819 msp_send_cmd_tx (MSP_GET_VTX_CONFIG );
820+ msp_send_cmd_tx (MSP_STATUS );
821+ if (!g_IS_ARMED ) {
822+ msp_send_cmd_tx (MSP_RC );
823+ }
820824 } else {
821825 fc_lock |= FC_STARTUP_LOCK ;
822826
@@ -1052,6 +1056,8 @@ void parse_status() {
10521056 camera_switch (1 );
10531057 }
10541058
1059+ g_IS_ARMED = (msp_rx_buf [6 ] & 0x01 );
1060+
10551061#if (0 )
10561062 g_IS_PARALYZE = (msp_rx_buf [9 ] & 0x80 );
10571063
@@ -1113,6 +1119,9 @@ void parse_rc() {
11131119 yaw = (msp_rx_buf [5 ] << 8 ) | msp_rx_buf [4 ];
11141120 throttle = (msp_rx_buf [7 ] << 8 ) | msp_rx_buf [6 ];
11151121
1122+ if (msp_cmp_fc_variant ("ARDU" ))
1123+ pitch = 3000 - pitch ;
1124+
11161125 update_cms_menu (roll , pitch , yaw , throttle );
11171126}
11181127
@@ -1314,11 +1323,19 @@ void parse_vtx_params(uint8_t isMSP_V2) {
13141323}
13151324
13161325void parse_vtx_config (void ) {
1326+ if (!msp_cmp_fc_variant ("BTFL" ) && !msp_cmp_fc_variant ("EMUF" ) && !msp_cmp_fc_variant ("QUIC" ) && !msp_cmp_fc_variant ("INAV" )) {
1327+ return ;
1328+ }
1329+
13171330 fc_lock |= FC_VTX_CONFIG_LOCK ;
13181331 parse_vtx_params (0 );
13191332}
13201333
13211334void parseMspVtx_V2 (void ) {
1335+ if (!msp_cmp_fc_variant ("BTFL" ) && !msp_cmp_fc_variant ("EMUF" ) && !msp_cmp_fc_variant ("QUIC" ) && !msp_cmp_fc_variant ("INAV" )) {
1336+ return ;
1337+ }
1338+
13221339 if (fc_lock & FC_VTX_CONFIG_LOCK ) {
13231340 parse_vtx_params (1 );
13241341 }
0 commit comments