File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ class MbedCRC {
146
146
* @param crc CRC is the output value
147
147
* @return 0 on success, negative error code on failure
148
148
*/
149
- int32_t compute (void *buffer, crc_data_size_t size, uint32_t *crc)
149
+ int32_t compute (const void *buffer, crc_data_size_t size, uint32_t *crc)
150
150
{
151
151
MBED_ASSERT (crc != NULL );
152
152
int32_t status = 0 ;
@@ -193,7 +193,7 @@ class MbedCRC {
193
193
* @note: CRC as output in compute_partial is not final CRC value, call `compute_partial_stop`
194
194
* to get final correct CRC value.
195
195
*/
196
- int32_t compute_partial (void *buffer, crc_data_size_t size, uint32_t *crc)
196
+ int32_t compute_partial (const void *buffer, crc_data_size_t size, uint32_t *crc)
197
197
{
198
198
int32_t status = 0 ;
199
199
You can’t perform that action at this time.
0 commit comments