The last function call in setup is to reset_cap() where you call noInterrupts().
I don't see where they are renabled.