When an ADC channel is opened, there is a check if the ADC channel number is within range, and if the callback is valid (line nr. 78 in file src/HAL/HAL_R5/base/src/adc.c).
The problem is, that there is a logical 'and' between those two checks instead of a logical 'or'. In this case, the function will not return FAIL if the ADC channel number is valid, but the callback is invalid.
Example...
2008-01-22 09:33:37 UTC in MeshNetics OpenMAC