Convert irq to a bitmask before putting in id_irq. Fixed bugs related to the 'more' code.
Convert irq to a bitmask before putting in id_irq.
Fixed bugs related to the 'more' code.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase