Fixed an ADC hang bug and a receiver ack hang bug.