mirror of
https://github.com/espressif/openthread.git
synced 2026-08-20 17:39:51 +00:00
[thci] fix warning when set downgrade threshold for ncp device (#3113)
This commit is contained in:
@@ -419,7 +419,7 @@ class OpenThread_WpanCtl(IThci):
|
||||
"""
|
||||
print 'call __setRouterDowngradeThreshold'
|
||||
try:
|
||||
cmd = WPANCTL_CMD + 'setprop Thread:RouterDowngradeThreshold %s %s' % str(iThreshold)
|
||||
cmd = WPANCTL_CMD + 'setprop Thread:RouterDowngradeThreshold %s' % str(iThreshold)
|
||||
return self.__sendCommand(cmd)[0] != 'Fail'
|
||||
except Exception, e:
|
||||
ModuleHelper.WriteIntoDebugLogger('setRouterDowngradeThreshold() Error: ' + str(e))
|
||||
|
||||
Reference in New Issue
Block a user