From 0bc3b07f665941a549e09d21bc3e1c264db40325 Mon Sep 17 00:00:00 2001 From: "Robin.Mueller" <robin.mueller.m@gmail.com> Date: Wed, 8 Jul 2020 03:27:16 +0200 Subject: [PATCH] some additional doc for user config file --- obsw_user_code.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/obsw_user_code.py b/obsw_user_code.py index a74a537..c7e41a8 100644 --- a/obsw_user_code.py +++ b/obsw_user_code.py @@ -16,7 +16,10 @@ def command_preparation_hook() -> Tuple[bytearray, Union[None, PusTcInfo]]: def global_setup_hook(): """ Can be used to alter the global variables in a custom defined way. - For example, device specific com port can be set here. + For example, device specific com ports or ethernet ports can be set here. + The global variables in the config.obsw_config file can be edited here + by using the handle. + For example: config.obsw_config.G_SEND_ADDRESS = new_send_address """ import config.obsw_config # Static IP of board -- GitLab