From 6466ae1d3eedec66c8eb1014ceb3ca48d25e72d5 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 25 Jul 2018 17:29:02 -0700 Subject: mpm: Add __mpm_device__ as usrp_hwd module variable --- mpm/python/usrp_mpm/__init__.py | 1 + mpm/python/usrp_mpm/periph_manager/__init__.py.in | 1 + 2 files changed, 2 insertions(+) (limited to 'mpm/python/usrp_mpm') diff --git a/mpm/python/usrp_mpm/__init__.py b/mpm/python/usrp_mpm/__init__.py index 6b6b86d08..a8efbd498 100644 --- a/mpm/python/usrp_mpm/__init__.py +++ b/mpm/python/usrp_mpm/__init__.py @@ -21,3 +21,4 @@ from .mpmlog import get_main_logger __version__ = periph_manager.__version__ __githash__ = periph_manager.__githash__ +__mpm_device__ = periph_manager.__mpm_device__ diff --git a/mpm/python/usrp_mpm/periph_manager/__init__.py.in b/mpm/python/usrp_mpm/periph_manager/__init__.py.in index 1a84ca3a4..88ed6b903 100644 --- a/mpm/python/usrp_mpm/periph_manager/__init__.py.in +++ b/mpm/python/usrp_mpm/periph_manager/__init__.py.in @@ -9,6 +9,7 @@ periph_manager __init__.py __version__ = "${MPM_VERSION_MAJOR}.${MPM_VERSION_API}.${MPM_VERSION_ABI}.${MPM_VERSION_PATCH}" __githash__ = "${MPM_GIT_HASH_RAW}" +__mpm_device__ = "${MPM_DEVICE}" from .base import PeriphManagerBase -- cgit v1.2.3