Event-Triggered Control of Switched Linear Systems