removed obsolete function

This commit is contained in:
Robin Müller 2021-08-04 17:09:45 +02:00
parent 929a7deb11
commit b2ed55ec18
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
3 changed files with 3 additions and 12 deletions

View File

@ -15,10 +15,6 @@ from common_tmtc.config.definitions import PUS_APID
class FsfwHookBase(TmTcHookBase):
def get_version(self) -> str:
from common_tmtc.config.version import SW_NAME, SW_VERSION, SW_SUBVERSION, SW_SUBSUBVERSION
return f"{SW_NAME} {SW_VERSION}.{SW_SUBVERSION}.{SW_SUBSUBVERSION}"
def get_json_config_file_path(self) -> str:
return "config/tmtc_config.json"

View File

@ -1,4 +1,4 @@
SW_NAME = "fsfw-tmtc"
SW_VERSION = 1
SW_SUBVERSION = 3
SW_SUBVERSION = 4
SW_SUBSUBVERSION = 0

View File

@ -1,8 +1,4 @@
"""
@brief This file transfers control of housekeeping handling (PUS service 3) to the
developer
@details Template configuration file. Copy this folder to the TMTC commander root and adapt
it to your needs.
"""This file transfers control of housekeeping handling (PUS service 3) to the developer
"""
import struct
from typing import Tuple
@ -16,8 +12,7 @@ LOGGER = get_console_logger()
def service_3_hk_handling(
object_id: bytes, set_id: int, hk_data: bytearray, service3_packet: Service3Base
) -> Tuple[list, list, bytearray, int]:
"""
This function is called when a Service 3 Housekeeping packet is received.
"""This function is called when a Service 3 Housekeeping packet is received.
Please note that the object IDs should be compared by value because direct comparison of
enumerations does not work in Python. For example use: