Switch between clocks analog/digital fix
Merge pull request #1270 from AndreiH/switch_clock

Switch between clocks analog/digital fix