This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Mistake in CC26xx ADCBuf Driver Documentation

In the tidrivers_cc13xx_cc26xx_2_20_00_08 documentation for the ADCBuf.h and ADCBufCC26XX.h I believe there is a minor mistake in the code example.

ADCBuf_Conversion blockingConversion;

blockingConversion.arg = NULL;
blockingConversion.adcChannel = Board_ADCCHANNEL_A1;
blockingConversion.sampleBuffer = sampleBufferOnePtr;
blockingConversion.sampleBufferTwo = NULL;
blockingConversion.samplesRequestedCount = ADCBUFFERSIZE;

if (!ADCBuf_convert(adcBuf, &continuousConversion, 1)) {
    // handle error
}

I believe within the if statement, it was supposed to say:

ADCBuf_convert(adcBuf, &blockingConversion, 1)