optimized size and robustness of calibrateOscillator(void)