diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index b932314ea..b405931cb 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -1650,7 +1650,7 @@ PLAY_FUNCTION(playValue, uint8_t idx) case MIXSRC_FIRST_TELEM+TELEM_TM2-1: PLAY_DURATION(val, 0); break; -#if defined(CPUARM) +#if defined(CPUARM) && defined(FRSKY) case MIXSRC_FIRST_TELEM+TELEM_SWR-1: PLAY_NUMBER(val, 0, 0); break; diff --git a/radio/src/targets/sky9x/coproc_driver.cpp b/radio/src/targets/sky9x/coproc_driver.cpp index 65c229c3c..4367482a7 100644 --- a/radio/src/targets/sky9x/coproc_driver.cpp +++ b/radio/src/targets/sky9x/coproc_driver.cpp @@ -47,7 +47,7 @@ int8_t Coproc_maxtemp=-127 ; int8_t Coproc_valid ; bool get_onlytemp; #if !defined(SIMU) -static uint8_t *Twi_read_address ; +// TODO not used? static uint8_t *Twi_read_address ; #endif static uint8_t TwiOperation ;