Good catch! Didn't see that. Strange that it misses it, though, as nothing should interrupt the code and it's running ~60 cpu cycles per clock tick!

Looking at it, I'm only doing a save_flags_cli, it should be save_flags_clif (FITNR). FIQs are used for the CS4231, which means reading the temperature may fail on v2 when in AUX/radio mode.

Basically, if the timings go out nasty things might happen - worst-case is writing to the config register in the chip which makes it enter thermometer mode...

Hugo