Bug fix

Fix switching into RTC calibration mode.