Skip to content

Commit

Permalink
Adding the satellite name to the log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mgm8 committed May 19, 2024
1 parent c0471b0 commit 8a39794
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spacelab_decoder/spacelabdecoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,12 +389,12 @@ def _find_ngham_pkts(self, bitstream, s_word, link_name):
if len(pl) == 0:
if err == -1:
packet_detected = False
self.write_log("Error decoding a " + link_name + " packet!")
self.write_log("Error decoding a " + link_name + " packet from " + _SATELLITES[self.combobox_satellite.get_active()] + "!")
else:
packet_detected = False
tm_now = datetime.now()
self.decoded_packets_index.append(self.textbuffer_pkt_data.create_mark(str(tm_now), self.textbuffer_pkt_data.get_end_iter(), True))
self.write_log(link_name + " packet decoded!")
self.write_log(link_name + " packet from " + _SATELLITES[self.combobox_satellite.get_active()] + " decoded!")
self._decode_packet(pl)
byte_buf.clear()
sync_word_buf.push(bool(bit))
Expand Down
2 changes: 1 addition & 1 deletion spacelab_decoder/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
__copyright__ = "Copyright The SpaceLab-Decoder Contributors"
__credits__ = ["Gabriel Mariano Marcelino - PU5GMA"]
__license__ = "GPLv3"
__version__ = "0.4.1"
__version__ = "0.4.2"
__maintainer__ = "Gabriel Mariano Marcelino - PU5GMA"
__email__ = "[email protected]"
__status__ = "Development"

0 comments on commit 8a39794

Please sign in to comment.