From e271ddefcefc555a887af37abfca6359e83b5322 Mon Sep 17 00:00:00 2001 From: alexklimaj Date: Fri, 10 Jan 2025 11:31:17 -0700 Subject: [PATCH 1/2] Add option to disable periodic telemetry --- Inc/targets.h | 1 + Src/main.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Inc/targets.h b/Inc/targets.h index c3baaf3e..e169198a 100644 --- a/Inc/targets.h +++ b/Inc/targets.h @@ -1478,6 +1478,7 @@ #define CURRENT_ADC_CHANNEL LL_ADC_CHANNEL_3 #define CURRENT_ADC_PIN LL_GPIO_PIN_3 #define USE_SERIAL_TELEMETRY +#define NO_PERIODIC_TELEMETRY #define USE_DRV8328_NSLEEP #define NSLEEP_PORT GPIOA #define NSLEEP_PIN LL_GPIO_PIN_15 diff --git a/Src/main.c b/Src/main.c index 3d2b5e63..07641466 100644 --- a/Src/main.c +++ b/Src/main.c @@ -1264,6 +1264,7 @@ void tenKhzRoutine() } } +#ifndef NO_PERIODIC_TELEMETRY if (eepromBuffer.telementry_on_interval) { telem_ms_count++; if (telem_ms_count > telemetry_interval_ms * 20) { @@ -1271,6 +1272,7 @@ void tenKhzRoutine() telem_ms_count = 0; } } +#endif #ifndef BRUSHED_MODE From be20e185c9416d7298f0dbda0d1ea949031c7cf9 Mon Sep 17 00:00:00 2001 From: alexklimaj Date: Fri, 10 Jan 2025 11:31:27 -0700 Subject: [PATCH 2/2] Bump version to 2.18 --- Inc/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Inc/version.h b/Inc/version.h index 67208d1d..9aebeebf 100644 --- a/Inc/version.h +++ b/Inc/version.h @@ -2,6 +2,6 @@ update this file for new releases */ #define VERSION_MAJOR 2 -#define VERSION_MINOR 17 +#define VERSION_MINOR 18 #define EEPROM_VERSION 2