Skip to content

Commit 8f9fc23

Browse files
authored
Merge pull request iNavFlight#11399 from iNavFlight/dzikuvx-disable-sim-telemetry-f722
Disable SIM telemetry for F722 targets due to lack of FLASH memory
2 parents 0791829 + 4f73ff7 commit 8f9fc23

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/target/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@
122122

123123
#define USE_I2C_IO_EXPANDER
124124

125-
#define USE_TELEMETRY_SIM
126125
#define USE_TELEMETRY_MAVLINK
127126
#define USE_MSP_OVER_TELEMETRY
128127

@@ -202,6 +201,7 @@
202201

203202
//Designed to free space of F722 and F411 MCUs
204203
#if (MCU_FLASH_SIZE > 512)
204+
#define USE_TELEMETRY_SIM
205205
#define USE_VTX_FFPV
206206
#define USE_SERIALRX_SUMD
207207
#define USE_TELEMETRY_HOTT

src/main/telemetry/telemetry.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
#include "telemetry/ghst.h"
5757

5858

59-
PG_REGISTER_WITH_RESET_TEMPLATE(telemetryConfig_t, telemetryConfig, PG_TELEMETRY_CONFIG, 8);
59+
PG_REGISTER_WITH_RESET_TEMPLATE(telemetryConfig_t, telemetryConfig, PG_TELEMETRY_CONFIG, 9);
6060

6161
PG_RESET_TEMPLATE(telemetryConfig_t, telemetryConfig,
6262
.telemetry_switch = SETTING_TELEMETRY_SWITCH_DEFAULT,

0 commit comments

Comments
 (0)