Skip to content

Commit

Permalink
Only allow manual collection in manual mode
Browse files Browse the repository at this point in the history
  • Loading branch information
KaushikMalapati committed Oct 23, 2024
1 parent 3fa7fbf commit bee6c4e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ IF udBackgroundVoltageBufferIndex <> 1 AND BACKGROUND_MODE = Auto THEN
END_IF
// Start collecting background in manual mode - 60s by default but can be set with uBackgroundCollectionTime
IF bBackgroundCollect = TRUE THEN
IF bBackgroundCollect = TRUE AND BACKGROUND_MODE = Manual THEN
bBackgroundCollect := FALSE;
udBackgroundManualCount := 0;
fBackgroundVoltage := 0;
Expand Down

0 comments on commit bee6c4e

Please sign in to comment.