Prevent segfault when pressing calibration button with no board connected