You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since ADC_Module.h is not included in RingBufferDMA.h, the ADC_NUM_ADCS is not defined so DMAMUX_SOURCE_ADC does not get set to DMAMUX_SOURCE_ADC1.
//RingBufferDMA.cppuint8_tDMAMUX_SOURCE_ADC=DMAMUX_SOURCE_ADC0;
#ifADC_NUM_ADCS>=2if(ADC_number==1){
//this block never gets executed if ADC_NUM_ADCS is not definedDMAMUX_SOURCE_ADC=DMAMUX_SOURCE_ADC1;
}
#endif// ADC_NUM_ADCS
The text was updated successfully, but these errors were encountered:
Since ADC_Module.h is not included in RingBufferDMA.h, the ADC_NUM_ADCS is not defined so DMAMUX_SOURCE_ADC does not get set to DMAMUX_SOURCE_ADC1.
The text was updated successfully, but these errors were encountered: