We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea562cf commit 33baac3Copy full SHA for 33baac3
src/main/telemetry/crsf.c
@@ -816,16 +816,20 @@ static bool crsfSendNativeTelemetry(void)
816
#endif
817
#ifdef USE_ESC_SENSOR
818
case TELEM_ESC_RPM:
819
- crsfInitializeFrame(dst);
820
- crsfRpm(dst);
821
- crsfFinalize(dst);
+ if(STATE(ESC_SENSOR_ENABLED) && getMotorCount() > 0) {
+ crsfInitializeFrame(dst);
+ crsfRpm(dst);
822
+ crsfFinalize(dst);
823
+ }
824
break;
825
826
#ifdef USE_TEMPERATURE_SENSOR
827
case TELEM_ESC_TEMPERATURE:
- crsfTemperature(dst);
828
829
830
+ crsfTemperature(dst);
831
832
833
834
835
default:
0 commit comments