Skip to content

Commit 7a5058f

Browse files
authored
Fix enable logic to invert control state.
1 parent a9b4736 commit 7a5058f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_si5351.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ def outputs_enabled(self):
426426

427427
@outputs_enabled.setter
428428
def outputs_enabled(self, val):
429-
if val:
429+
if not val:
430430
self._write_u8(_SI5351_REGISTER_3_OUTPUT_ENABLE_CONTROL, 0xFF)
431431
else:
432432
self._write_u8(_SI5351_REGISTER_3_OUTPUT_ENABLE_CONTROL, 0x00)

0 commit comments

Comments
 (0)