Skip to content

Commit 6d8eb4c

Browse files
committed
fix(python-ofm): fix misstyped variable in the GLS module
1 parent faedf4d commit 6d8eb4c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/ofm/ofm/comp/mfb_tools/debug/gen_loop_switch/gen_loop_switch.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,12 @@ def gen_start(
119119
if max_ch is not None:
120120
self.gen.maximum_channel = max_ch
121121

122-
self.gen.enable = True
122+
self.gen.enabled = True
123123

124124
def gen_stop(self) -> None:
125125
"""Stop generating frames and return MUXes to their default state (both to 0)."""
126-
self.gen.enable = False
127-
while self.gen.enable:
126+
self.gen.enabled = False
127+
while self.gen.enabled:
128128
continue
129129
self.input = 0
130130

0 commit comments

Comments
 (0)