fix to avoid crash when ADC reads 0
This type of problem was reported here: https://mattermost.web.cern.ch/cms-exp/pl/y1amjhq6itgb9erksu45enaxfr
To test the feature I hardcoded the ADC returning 0 as I did not observe this feature with the modules available to me.