Skip to content

Commit 244a314

Browse files
committed
osfv_cli/src/osfv/rf/rte_robot.py: Add KW to clear CMOS
Signed-off-by: Michał Żygowski <[email protected]>
1 parent fdd82a7 commit 244a314

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

osfv_cli/src/osfv/rf/rte_robot.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,11 @@ def rte_psu_off(self):
171171
def rte_psu_get(self):
172172
return self.rte.psu_get()
173173

174+
@keyword(types=None)
175+
def rte_clear_cmos(self):
176+
robot.api.logger.info(f"Clearing CMOS...")
177+
self.rte.reset_cmos()
178+
174179
@keyword(types=None)
175180
def rte_gpio_get(self, gpio_no):
176181
state = self.rte.gpio_get(int(gpio_no))

0 commit comments

Comments
 (0)