badchannel segfault for multi module (#620)

* badchannels segfaults when there are no badchannels for next modules, fixed

* added example badchannels

* refactoring casting
This commit is contained in:
Dhanya Thattil
2023-01-20 17:39:25 +01:00
committed by GitHub
parent 3682644e15
commit 946e6aa817
2 changed files with 15 additions and 6 deletions

6
examples/badchannel.txt Normal file
View File

@ -0,0 +1,6 @@
0
10, 30
40:45 50:52
1279
# all bad channels are applied for all counters in deector