Juergen Erhart

Show:

What's happening?

  • wrong logical connective in adc_open function

    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

About Me

  • 2008-01-22 (2 years ago)
  • 1988262
  • juergene (My Site)
  • Juergen Erhart

Send me a message