diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-07 10:48:59 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-07 10:48:59 +0000 |
commit | 2487bc05e4cb0a386f2c4633b97a5879c170eea1 (patch) | |
tree | b8368a41e52907c42e940f47278f059abfaef70f /os/io/templates/adc_lld.h | |
parent | 8957c5264880bc0c8db34b591ceeca6752db57c8 (diff) | |
download | ChibiOS-2487bc05e4cb0a386f2c4633b97a5879c170eea1.tar.gz ChibiOS-2487bc05e4cb0a386f2c4633b97a5879c170eea1.tar.bz2 ChibiOS-2487bc05e4cb0a386f2c4633b97a5879c170eea1.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1273 35acf78f-673a-0410-8e92-d51de3d6d3f4
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.
|