diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-02-06 10:35:53 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-02-06 10:35:53 +0000 |
commit | 47a8438f5b7e146294a666a3e3ed3151fba8e9b9 (patch) | |
tree | cc0adb6e6e32e6c7de14b4188c7e1323bb312201 /os/hal/templates | |
parent | 0f36cd1e80b17b0c70e3e8f66dad1dcf77653d4f (diff) | |
download | ChibiOS-47a8438f5b7e146294a666a3e3ed3151fba8e9b9.tar.gz ChibiOS-47a8438f5b7e146294a666a3e3ed3151fba8e9b9.tar.bz2 ChibiOS-47a8438f5b7e146294a666a3e3ed3151fba8e9b9.zip |
Fixed bug #817.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10090 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/templates')
-rw-r--r-- | os/hal/templates/hal_dac_lld.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/os/hal/templates/hal_dac_lld.h b/os/hal/templates/hal_dac_lld.h index d35d321d9..12c75ea6a 100644 --- a/os/hal/templates/hal_dac_lld.h +++ b/os/hal/templates/hal_dac_lld.h @@ -95,9 +95,7 @@ typedef enum { * @param[in] n number of buffer rows available starting from @p buffer
* callback
*/
-typedef void (*daccallback_t)(DACDriver *dacp,
- const dacsample_t *buffer,
- size_t n);
+typedef void (*daccallback_t)(DACDriver *dacp, dacsample_t *buffer, size_t n);
/**
* @brief ADC error callback type.
@@ -150,7 +148,7 @@ struct DACDriver { /**
* @brief Samples buffer pointer.
*/
- const dacsample_t *samples;
+ dacsample_t *samples;
/**
* @brief Samples buffer size.
*/
|