Compilation error

This commit is contained in:
bsongis
2013-02-22 07:59:42 +00:00
parent 86807ea1f4
commit 69bf79f0bc
+4
View File
@@ -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;
}