From 4c81ed0a5dd01e65db560b9ed0db14407d14ce3e Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 23 Jan 2018 12:06:35 -0800 Subject: fixup! mpm: Log timeouts during API calls, reset timer on claimed calls --- mpm/python/usrp_mpm/periph_manager/base.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mpm/python/usrp_mpm/periph_manager') diff --git a/mpm/python/usrp_mpm/periph_manager/base.py b/mpm/python/usrp_mpm/periph_manager/base.py index 93edb36ce..303f7e805 100644 --- a/mpm/python/usrp_mpm/periph_manager/base.py +++ b/mpm/python/usrp_mpm/periph_manager/base.py @@ -733,6 +733,9 @@ class PeriphManagerBase(object): """ This is called when the device is claimed, in case the device needs to run any actions on claiming (e.g., light up an LED). + + Consider this a "post claim hook", not a function to actually claim + this device (which happens outside of this class). """ self.log.debug("Device was claimed. No actions defined.") @@ -740,6 +743,9 @@ class PeriphManagerBase(object): """ This is called when the device is unclaimed, in case the device needs to run any actions on claiming (e.g., turn off an LED). + + Consider this a "post unclaim hook", not a function to actually + unclaim this device (which happens outside of this class). """ self.log.debug("Device was unclaimed. No actions defined.") -- cgit v1.2.3