aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates/dac_lld.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/templates/dac_lld.h')
-rw-r--r--os/hal/templates/dac_lld.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/templates/dac_lld.h b/os/hal/templates/dac_lld.h
index ab2c3494a..c9cb13fc6 100644
--- a/os/hal/templates/dac_lld.h
+++ b/os/hal/templates/dac_lld.h
@@ -154,7 +154,7 @@ struct DACDriver {
/**
* @brief Current samples buffer pointer or @p NULL.
*/
- dacsample_t *samples;
+ const dacsample_t *samples;
/**
* @brief Current samples buffer depth or @p 0.
*/