static int rs_getSol(int solNo) { if ((solNo >= CORE_CUSTSOLNO(1)) && (solNo <= CORE_CUSTSOLNO(8))) return ((wpc_data[WPC_EXTBOARD1]>>(solNo-CORE_CUSTSOLNO(1)))&0x01); return 0; }
static int ngg_getSol(int solNo) { return wpc_data[WPC_EXTBOARD2] & (1<<(solNo - CORE_CUSTSOLNO(1))); }
/* 3 extra solenoids for magnet at engine, or lights inside the engine maybe? */ static int corv_getSol(int solNo) { if (solNo <= CORE_CUSTSOLNO(3)) return wpc_data[WPC_EXTBOARD3] & (1<<(solNo - CORE_CUSTSOLNO(1))); return 0; }
static int cv_getSol(int solNo) { if (solNo == CORE_CUSTSOLNO(1)) return locals.sol35; if (solNo == CORE_CUSTSOLNO(2)) return locals.sol36; return 0; }