From 9cb4d5da1f26cdc6cf048616f110a2683561b859 Mon Sep 17 00:00:00 2001 From: bsongis Date: Mon, 9 Jun 2014 11:14:57 +0200 Subject: [PATCH] Sky9x Error + Warning removed --- radio/src/opentx.cpp | 2 +- radio/src/targets/sky9x/coproc_driver.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ;