docs: fixed example emane model code to properly load platform config
This commit is contained in:
parent
d2008b1e5a
commit
01585b6ec5
2 changed files with 2 additions and 0 deletions
|
@ -184,6 +184,7 @@ class ExampleModel(emanemodel.EmaneModel):
|
|||
:param emane_prefix: configured emane prefix path
|
||||
:return: nothing
|
||||
"""
|
||||
cls._load_platform_config(emane_prefix)
|
||||
manifest_path = "share/emane/manifest"
|
||||
# load mac configuration
|
||||
mac_xml_path = emane_prefix / manifest_path / cls.mac_xml
|
||||
|
|
|
@ -64,6 +64,7 @@ class ExampleModel(emanemodel.EmaneModel):
|
|||
:param emane_prefix: configured emane prefix path
|
||||
:return: nothing
|
||||
"""
|
||||
cls._load_platform_config(emane_prefix)
|
||||
manifest_path = "share/emane/manifest"
|
||||
# load mac configuration
|
||||
mac_xml_path = emane_prefix / manifest_path / cls.mac_xml
|
||||
|
|
Loading…
Reference in a new issue