use new decorator to add tmtc definitions now
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
import enum
|
||||
|
||||
from config.definitions import CustomServiceList
|
||||
from tmtccmd.config import TmTcDefWrapper, OpCodeEntry
|
||||
from tmtccmd.config.tmtc import register_tmtc_definitions
|
||||
from tmtccmd.config import TmtcDefinitionWrapper, OpCodeEntry
|
||||
from tmtccmd.config.tmtc import tmtc_definitions_provider
|
||||
from tmtccmd.tc import DefaultPusQueueHelper
|
||||
from tmtccmd.tc.pus_200_fsfw_modes import Modes
|
||||
from tmtccmd.tc.pus_3_fsfw_hk import (
|
||||
@ -33,8 +33,8 @@ class SetIds(enum.IntEnum):
|
||||
SUS_TEMP_SENSORS = 2
|
||||
|
||||
|
||||
@register_tmtc_definitions
|
||||
def add_tcs_cmds(defs: TmTcDefWrapper):
|
||||
@tmtc_definitions_provider
|
||||
def add_tcs_cmds(defs: TmtcDefinitionWrapper):
|
||||
oce = OpCodeEntry()
|
||||
oce.add(
|
||||
keys=OpCodes.TCS_BOARD_ASS_NORMAL,
|
||||
|
Reference in New Issue
Block a user