self test revert

This commit is contained in:
Markus Kranz 2023-03-03 09:56:16 +01:00
parent 74e6d6fe5f
commit 2468998dbd

View File

@ -73,7 +73,6 @@ class ImtqSetId(enum.IntEnum):
NEGATIVE_Y_TEST = 13
POSITIVE_Z_TEST = 14
NEGATIVE_Z_TEST = 15
SELF_TEST_SET = 16
class ImtqActionId:
@ -386,7 +385,7 @@ ENG_HK_HEADERS = [
def handle_imtq_hk(printer: FsfwTmTcPrinter, hk_data: bytes, set_id: int):
if set_id == ImtqSetId.SELF_TEST_SET:
if (set_id >= ImtqSetId.POSITIVE_X_TEST) and (set_id <= ImtqSetId.NEGATIVE_Z_TEST):
return handle_self_test_data(printer, hk_data)
elif set_id == ImtqSetId.ENG_HK_NO_TORQUE:
_LOGGER.info("Found engineering HK without torque")