git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13357 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
d438ad9831
commit
ae7fa9db3f
|
@ -743,7 +743,7 @@ typedef enum {
|
||||||
#endif /* STM32_ADCV3_OVERSAMPLING == FALSE */
|
#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))
|
#define ADC_TR(low, high) (((uint32_t)(high) << 16) | (uint32_t)(low))
|
||||||
|
|
|
@ -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;
|
size_t n= 0, nx = 0, ny = 0;
|
||||||
void adccallback(ADCDriver *adcp) {
|
void adccallback(ADCDriver *adcp) {
|
||||||
|
|
||||||
(void)adcp;
|
|
||||||
|
|
||||||
/* Updating counters.*/
|
/* Updating counters.*/
|
||||||
n++;
|
n++;
|
||||||
if (adcIsBufferComplete(adcp)) {
|
if (adcIsBufferComplete(adcp)) {
|
||||||
|
|
Loading…
Reference in New Issue