Skip to content

Commit 08c6ff4

Browse files
committed
Sum histogram hits with single events, to calculate total flux.
1 parent 289360a commit 08c6ff4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fw/AIRDOS04/AIRDOS04.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,8 @@ void DataOut()
416416
{
417417
flux += histogram[n];
418418
}
419+
420+
flux += hit_count; // sum particles in the histogram with single partiles detections.
419421

420422
// make a string for assembling the data to log:
421423
String dataString = "";

0 commit comments

Comments
 (0)