Fix compiler errors when telemetry is disabled (#474)

This commit is contained in:
Ben Lye
2020-11-30 07:38:21 +00:00
committed by GitHub
parent e53f723fdb
commit b4421306c0
2 changed files with 13 additions and 10 deletions

View File

@@ -344,6 +344,7 @@
#undef OMP_HUB_TELEMETRY
#undef RLINK_HUB_TELEMETRY
#undef DSM_RX_CYRF6936_INO
#undef DSM_FWD_PGM
#else
#if defined(MULTI_TELEMETRY) && defined(MULTI_STATUS)
#error You should choose either MULTI_TELEMETRY or MULTI_STATUS but not both.