From 531f0935145fbeebb445c3dbf960fac70c5564bd Mon Sep 17 00:00:00 2001 From: bsongis Date: Mon, 2 Apr 2012 18:03:43 +0000 Subject: [PATCH] Compilation problem on ersky9x Rev A --- src/open9x.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/open9x.cpp b/src/open9x.cpp index 2f869b728..6d40ff142 100644 --- a/src/open9x.cpp +++ b/src/open9x.cpp @@ -944,10 +944,11 @@ uint16_t anaIn(uint8_t chan) // Google Translate (German): // if table already, then it must also be worthwhile #if defined(PCBARM) static const uint8_t crossAna[]={1,5,7,0,4,6,2,3,8}; - +#if defined(REVB) if ( chan == 8 ) { return Current_analogue ; } +#endif #else static const pm_char crossAna[] PROGMEM ={3,1,2,0,4,5,6,7}; #endif