Skip to content

Commit 3c1b46b

Browse files
committed
Extend Reset protocol to include "mode"
Some forms of reset can reset the device into different modes. For example: - Reboot - Reboot into bootloader mode - Reboot into recovery mode Signed-off-by: Sebastian Goscik <[email protected]>
1 parent ee8883b commit 3c1b46b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labgrid/protocol/resetprotocol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33

44
class ResetProtocol(abc.ABC):
55
@abc.abstractmethod
6-
def reset(self):
6+
def reset(self, mode=None):
77
raise NotImplementedError

0 commit comments

Comments
 (0)