diff options
Diffstat (limited to 'os/io/templates/adc_lld.h')
-rw-r--r-- | os/io/templates/adc_lld.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/os/io/templates/adc_lld.h b/os/io/templates/adc_lld.h index db67a65cd..8ae29a521 100644 --- a/os/io/templates/adc_lld.h +++ b/os/io/templates/adc_lld.h @@ -50,17 +50,11 @@ typedef uint16_t adcsample_t; typedef uint16_t adc_channels_num_t;
/**
- * @brief Samples buffer depth.
- */
-typedef uint16_t adc_buffer_depth_t;
-
-/**
* @brief ADC notification callback type.
* @param[in] buffer pointer to the most recent samples data
* @param[in] n number of buffer rows available starting from @p buffer */
-typedef void (*adccallback_t)(adcsample_t *buffer,
- adc_buffer_depth_t n);
+typedef void (*adccallback_t)(adcsample_t *buffer, size_t n);
/**
* @brief Conversion group configuration structure.
|