fixed error in headset_irq_hook_adc