add "const" to avoid warning "discards qualifier" in adc sensors