diff options
author | Thomas Vogel <thomas.vogel@ni.com> | 2020-11-30 16:57:19 +0100 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-03-11 09:29:31 -0600 |
commit | 2000bbf17e166e89a32f819d0a31c940e1303d1f (patch) | |
tree | 350a3b951821f751d7e293433cfb23f92dedaed5 /mpm/python/usrp_mpm/rpc_server.py | |
parent | 09995cc9954877cb56b4f028dc273f2d5fd0be10 (diff) | |
download | uhd-2000bbf17e166e89a32f819d0a31c940e1303d1f.tar.gz uhd-2000bbf17e166e89a32f819d0a31c940e1303d1f.tar.bz2 uhd-2000bbf17e166e89a32f819d0a31c940e1303d1f.zip |
mpm: rpc: don't expose reset_mgr call via RPC
Diffstat (limited to 'mpm/python/usrp_mpm/rpc_server.py')
-rw-r--r-- | mpm/python/usrp_mpm/rpc_server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mpm/python/usrp_mpm/rpc_server.py b/mpm/python/usrp_mpm/rpc_server.py index 481b8e23a..972d18d59 100644 --- a/mpm/python/usrp_mpm/rpc_server.py +++ b/mpm/python/usrp_mpm/rpc_server.py @@ -491,7 +491,7 @@ class MPMServer(RPCServer): unpack_params={'max_buffer_size': 50000000, 'raw': False}, ) - def reset_mgr(self): + def _reset_mgr(self): """ Reset the Peripheral Manager for this RPC server. """ @@ -569,7 +569,7 @@ class MPMServer(RPCServer): try: self.log.trace("Reset after updating component? {}".format(reset_now)) if reset_now: - self.reset_mgr() + self._reset_mgr() self.log.debug("Reset the periph manager") except Exception as ex: self.log.error( |