diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-05-05 14:59:35 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:03:53 -0800 |
commit | 2270a6b1a670bfa8387004bafdfcf2e74fc90477 (patch) | |
tree | c273eb6d534faa4baf8852cf8f755cdccce85f44 /mpm/python/usrp_hwd.py | |
parent | b5b1ef2de2d554f16f67e254335265186fb642fa (diff) | |
download | uhd-2270a6b1a670bfa8387004bafdfcf2e74fc90477.tar.gz uhd-2270a6b1a670bfa8387004bafdfcf2e74fc90477.tar.bz2 uhd-2270a6b1a670bfa8387004bafdfcf2e74fc90477.zip |
mpm: Fixed python import in discovery module
Diffstat (limited to 'mpm/python/usrp_hwd.py')
-rwxr-xr-x | mpm/python/usrp_hwd.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mpm/python/usrp_hwd.py b/mpm/python/usrp_hwd.py index ca46baec7..a6b242415 100755 --- a/mpm/python/usrp_hwd.py +++ b/mpm/python/usrp_hwd.py @@ -22,7 +22,7 @@ from __future__ import print_function import sys from gevent import signal import usrp_mpm as mpm -from usrp_mpm.types import SharedState +from usrp_mpm.mpmtypes import SharedState from usrp_mpm.periph_manager import periph_manager _PROCESSES = [] @@ -69,7 +69,7 @@ def main(): mpm.spawn_discovery_process(discovery_info, shared)) log.info("Spawning RPC process...") _PROCESSES.append( - mpm.spawn_rpc_process(mpm.types.MPM_RPC_PORT, shared, mgr)) + mpm.spawn_rpc_process(mpm.mpmtypes.MPM_RPC_PORT, shared, mgr)) log.info("Processes launched. Registering signal handlers.") signal.signal(signal.SIGTERM, kill_time) signal.signal(signal.SIGINT, kill_time) |