Skip to content

Commit

Permalink
Legal gain bit values are 0, 1, 3
Browse files Browse the repository at this point in the history
Partially resolves slsdetectorgroup#1033
  • Loading branch information
graeme-winter committed Nov 19, 2024
1 parent 4880f87 commit 9b821f3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2730,9 +2730,9 @@ void *start_timer(void *arg) {
}

if ((i % 1024) < 300) {
gainVal = 1;
gainVal = 0;
} else if ((i % 1024) < 600) {
gainVal = 2;
gainVal = 1;
} else {
gainVal = 3;
}
Expand Down

0 comments on commit 9b821f3

Please sign in to comment.