Skip to content

Commit

Permalink
Bug fix making modes work properly
Browse files Browse the repository at this point in the history
  • Loading branch information
AronHetLam authored Jun 28, 2020
1 parent 38208da commit 84ec281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ATEM_tally_light.ino
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void loop() {
//Set tally light accordingly
if (atemSwitcher.getTallyByIndexTallyFlags(settings.tallyNo) & 0x01) { //if tally live
setLED(LED_RED);
} else if (!settings.tallyMode == MODE_PROGRAM_ONLY //if not program only
} else if ((!(settings.tallyMode == MODE_PROGRAM_ONLY)) //if not program only
&& ((atemSwitcher.getTallyByIndexTallyFlags(settings.tallyNo) & 0x02) //and tally preview
|| settings.tallyMode == MODE_PREVIEW_STAY_ON)) { //or preview stay on
setLED(LED_GREEN);
Expand Down

0 comments on commit 84ec281

Please sign in to comment.