/* mask &= 0x7fffffff; if (mask & (mask - 1)) {*/ external_switch = 1; mask = 0; /* }*/