Skip to content

Commit

Permalink
Extend Reset protocol to include "mode"
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
ep1cman committed Jan 13, 2025
1 parent 4c78974 commit a8ca43b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labgrid/protocol/resetprotocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

class ResetProtocol(abc.ABC):
@abc.abstractmethod
def reset(self):
def reset(self, mode=None):
raise NotImplementedError

0 comments on commit a8ca43b

Please sign in to comment.