From 69bf79f0bcdf7597fcbab837e2bccbbcabd8e71e Mon Sep 17 00:00:00 2001 From: bsongis Date: Fri, 22 Feb 2013 07:59:42 +0000 Subject: [PATCH] Compilation error --- src/open9x.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/open9x.cpp b/src/open9x.cpp index 403d08858..34a21fe82 100644 --- a/src/open9x.cpp +++ b/src/open9x.cpp @@ -791,7 +791,11 @@ bool __getSwitch(int8_t swtch) CustomSwData * cs = cswaddress(cs_idx); uint8_t s = cs->andsw; +#if defined(PCBX9D) + // TODO +#else if (s >= SWSRC_TRN) s += SWSRC_SW3-SWSRC_TRN; +#endif if (cs->func == CS_OFF || (s && !__getSwitch(s))) { result = false; }