aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports
diff options
context:
space:
mode:
authorisiora <none@example.com>2017-11-25 17:38:06 +0000
committerisiora <none@example.com>2017-11-25 17:38:06 +0000
commit152878a08f1e772b125aa9365d7fdf91bef2cd94 (patch)
tree8830040b3b91f0818f9e0043faa074b02113f83c /os/hal/ports
parent70c245e116409242abd6acf56a12b8006c4db7c4 (diff)
downloadChibiOS-152878a08f1e772b125aa9365d7fdf91bef2cd94.tar.gz
ChibiOS-152878a08f1e772b125aa9365d7fdf91bef2cd94.tar.bz2
ChibiOS-152878a08f1e772b125aa9365d7fdf91bef2cd94.zip
Added const qualifier
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11077 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports')
-rw-r--r--os/hal/ports/SAMA/LLD/CRYPTOv1/sama_sha_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_sha_lld.c b/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_sha_lld.c
index 8f432e1e6..7fa89d2f5 100644
--- a/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_sha_lld.c
+++ b/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_sha_lld.c
@@ -134,7 +134,7 @@ cryerror_t sama_sha_lld_process(CRYDriver *cryp,
SHA->SHA_IER = SHA_IER_DATRDY;
uint32_t buf_in_size;
- uint8_t *p=in;
+ const uint8_t *p=in;
while (indata_len) {
buf_in_size = min_u32(indata_len, SHA_UPDATE_LEN);