Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix trigger forwarding issue for non modular variation setups #207

Merged
merged 2 commits into from
Feb 28, 2024

Conversation

YifanC
Copy link
Collaborator

@YifanC YifanC commented Feb 27, 2024

No description provided.

@YifanC YifanC requested review from mjkramer and krwood February 27, 2024 06:54
larndsim/fee.py Outdated
if light.LIGHT_TRIG_MODE == 0: #: Threshold/LRS trigger
TRIG_IO = 2
elif light.LIGHT_TRIG_MODE == 1: #: Beam trigger
TRIG_IO = 1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works till someone years later adds an import fee somewhere before set_light_properties has run. Maybe def get_trig_io() instead?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mjkramer I cannot think two steps ahead...and am not sure if my brain is always online... please check again with the new commit

@YifanC YifanC merged commit a9bbf9b into develop Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants