mirror of
https://github.com/espressif/openthread.git
synced 2026-08-15 07:07:46 +00:00
[thci] fix issue with not initialized isPowerDown flag (#7196)
When the GRL starts, it calls initialize() reset() method on each device. Reset method call fails due to missing (uninitialized) attribute `isPowerDown`.
This commit is contained in:
@@ -402,6 +402,7 @@ class OpenThreadTHCI(object):
|
||||
|
||||
self.UIStatusMsg = ''
|
||||
self.AutoDUTEnable = False
|
||||
self.isPowerDown = False
|
||||
self._is_net = False # whether device is through ser2net
|
||||
self.logStatus = {
|
||||
'stop': 'stop',
|
||||
|
||||
Reference in New Issue
Block a user