Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SRC OBDH TMTC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Robin Mueller
SRC OBDH TMTC
Commits
3988f425
Commit
3988f425
authored
4 years ago
by
Robin Mueller
Browse files
Options
Downloads
Plain Diff
Merge branch 'mueller/master' into sa/master
parents
3b9d9518
d3a516f1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
config/tmtcc_com_config.py
+4
-1
4 additions, 1 deletion
config/tmtcc_com_config.py
with
4 additions
and
1 deletion
config/tmtcc_com_config.py
+
4
−
1
View file @
3988f425
...
...
@@ -18,7 +18,7 @@ from tmtc_core.comIF.obsw_qemu_com_if import QEMUComIF
from
tmtc_core.utility.obsw_logger
import
get_logger
from
tmtc_core.utility.obsw_tmtc_printer
import
TmTcPrinter
import
config.
tmtcc
_config
as
g
import
config.
obsw
_config
as
g
LOGGER
=
get_logger
()
...
...
@@ -68,6 +68,9 @@ def set_communication_interface(tmtc_printer: TmTcPrinter) -> Union[Communicatio
g
.
G_SERIAL_DLE_MAX_QUEUE_LEN
,
g
.
G_SERIAL_DLE_MAX_FRAME_SIZE
,
serial_timeout
)
else
:
communication_interface
=
DummyComIF
(
tmtc_printer
=
tmtc_printer
)
if
not
communication_interface
.
valid
:
LOGGER
.
warning
(
"
Invalid communication interface!
"
)
sys
.
exit
()
communication_interface
.
initialize
()
return
communication_interface
except
(
IOError
,
OSError
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment