[all] And switches added to Custom Switches

[ARM] No Init of SD after a reboot (not tested)
[X9D] Bug when [EXIT] on MODELSEL
This commit is contained in:
bsongis
2013-02-21 20:25:40 +00:00
parent 8cfde7854b
commit 3824939030
9 changed files with 84 additions and 26 deletions
+2 -1
View File
@@ -791,7 +791,7 @@ bool __getSwitch(int8_t swtch)
CustomSwData * cs = cswaddress(cs_idx);
uint8_t s = cs->andsw;
// TODO why? if (s > 8) s += 1;
if (s >= SWSRC_TRN) s += SWSRC_SW3-SWSRC_TRN;
if (cs->func == CS_OFF || (s && !__getSwitch(s))) {
result = false;
}
@@ -3532,6 +3532,7 @@ inline void open9xInit(OPEN9X_INIT_ARGS)
#endif
#if defined(CPUARM)
audioQueue.start();
setBacklight(g_eeGeneral.backlightBright);
#endif