Skip to content

Commit 8700b01

Browse files
philipandafilipleple
authored andcommitted
rte_robot.py: rte_check_power_led: Fix typo
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
1 parent 63164de commit 8700b01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osfv_cli/src/osfv/rf/rte_robot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def rte_gpio_set(self, gpio_no, state):
349349
@keyword(types=None)
350350
def rte_check_power_led(self):
351351
state = self.rte.gpio_get(RTE.GPIO_PWR_LED)
352-
polarity = self.dut_data.get("pwr_led", {}).get("polarity")
352+
polarity = self.rte.dut_data.get("pwr_led", {}).get("polarity")
353353
if polarity and polarity == "active low":
354354
if state == "high":
355355
state = "low"

0 commit comments

Comments
 (0)