PUS A Telemetry fixes #4

Merged
gaisser merged 2 commits from mueller/tmtc-pus-a-fix into master 2021-04-29 19:59:36 +02:00
4 changed files with 5 additions and 4 deletions

View File

@ -17,7 +17,7 @@
#define FSFW_DISABLE_PRINTOUT 0
#endif
#define FSFW_USE_PUS_C_TELEMETRY 1
#define FSFW_USE_PUS_C_TELEMETRY 0
//! Can be used to disable the ANSI color sequences for C stdio.
#define FSFW_COLORED_OUTPUT 1

2
fsfw

@ -1 +1 @@
Subproject commit 9f8373977179b79fabd5d56bc999d8cac2078d8c
Subproject commit 097244bf8b429d1b107343a3dbd77fa537a9c86d

@ -1 +1 @@
Subproject commit a85c01465bc8687773676f05c5e7eb8af54b25ff
Subproject commit a4f5e783e1d0452321559c1d612ef0add868d47c

View File

@ -4,6 +4,7 @@ from typing import Dict, Union, Tuple
from tmtccmd.core.hook_base import TmTcHookBase
from tmtccmd.ecss.tc import PusTelecommand
from tmtccmd.pus_tm.service_3_base import Service3Base
from tmtccmd.ecss.conf import PusVersion
class FsfwHookBase(TmTcHookBase):
@ -19,7 +20,7 @@ class FsfwHookBase(TmTcHookBase):
def add_globals_pre_args_parsing(self, gui: bool = False):
from tmtccmd.defaults.globals_setup import set_default_globals_pre_args_parsing
set_default_globals_pre_args_parsing(gui=gui, apid=0xef)
set_default_globals_pre_args_parsing(gui=gui, apid=0xef, pus_tm_version=PusVersion.PUS_A)
def add_globals_post_args_parsing(self, args: argparse.Namespace, json_cfg_path: str = ""):
from tmtccmd.defaults.globals_setup import set_default_globals_post_args_parsing