Revert "Change calibration check logic"

This reverts commit 422a34b091.
This commit is contained in:
artem30801
2024-09-17 19:01:07 +03:00
parent 422a34b091
commit 94bf2f2715

View File

@@ -93,7 +93,7 @@ def get_calibration_status():
if acc_status.value.integer == 0 and acc_status.success:
status_text += "acc: uncalibrated; "
if status_text == "":
if not gyro_status.success and not acc_status.success and not (has_mag and mag_status.success):
if not gyro_status.success or not acc_status.success or not (has_mag and mag_status.success):
status_text = "NO_INFO"
else:
status_text = "OK"