Skip to content
Snippets Groups Projects
Commit 143527ef authored by Robin Mueller's avatar Robin Mueller
Browse files

service 1 bugfix

parent b7835833
No related branches found
No related tags found
No related merge requests found
......@@ -12,8 +12,8 @@
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="C:\Users\Robin\NoSyncDokumente\sourceobsw\tmtc\obsw_tmtc_client.py" />
<option name="PARAMETERS" value="-m 3 -s GPS0 -c 1 --hk -p" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/obsw_tmtc_client.py" />
<option name="PARAMETERS" value="-m 3 -s GPS0 -c 1 --hk" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="true" />
<option name="MODULE_MODE" value="false" />
......
......@@ -28,7 +28,7 @@ class Service1TM(PusTelemetry):
if self.get_subservice() % 2 == 0:
self.specify_packet_info("Failure Verficiation")
self.has_tc_error_code = True
if self._data_field_header.subtype == 6:
if self.get_subservice() == 6:
self.is_step_reply = True
self.append_packet_info(" : Step Failure")
self.step_number = struct.unpack('>B', self._tm_data[4:5])[0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment