git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13357 27425a3e-05d8-49a3-a47f-9c15f0e5edd8

This commit is contained in:
Giovanni Di Sirio 2020-02-14 14:43:03 +00:00
parent d438ad9831
commit ae7fa9db3f
2 changed files with 1 additions and 3 deletions

View File

@ -743,7 +743,7 @@ typedef enum {
#endif /* STM32_ADCV3_OVERSAMPLING == FALSE */
/**
* @name Threashold register initializer
* @name Threshold register initializer
* @{
*/
#define ADC_TR(low, high) (((uint32_t)(high) << 16) | (uint32_t)(low))

View File

@ -45,8 +45,6 @@ adcsample_t samples2[CACHE_SIZE_ALIGN(adcsample_t, ADC_GRP2_NUM_CHANNELS * ADC_G
size_t n= 0, nx = 0, ny = 0;
void adccallback(ADCDriver *adcp) {
(void)adcp;
/* Updating counters.*/
n++;
if (adcIsBufferComplete(adcp)) {