diff options
| author | Evan Lojewski <github@meklort.com> | 2019-03-30 19:39:19 -0600 |
|---|---|---|
| committer | Evan Lojewski <github@meklort.com> | 2019-03-30 19:39:19 -0600 |
| commit | 19e6e985cb9fb33f6067d13acd03e7d9ea41ee33 (patch) | |
| tree | 227c28f3605795a6e5b3f0bc90430b26b93bafe5 /libs/NVRam/include | |
| parent | c3cfe26450bd741e6a01c767ccce54ea02a1a1ea (diff) | |
| download | bcm5719-ortega-19e6e985cb9fb33f6067d13acd03e7d9ea41ee33.tar.gz bcm5719-ortega-19e6e985cb9fb33f6067d13acd03e7d9ea41ee33.zip | |
nvram: Fix prototype for NVRam_crc to mark input buffer as constant.
Diffstat (limited to 'libs/NVRam/include')
| -rw-r--r-- | libs/NVRam/include/NVRam.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/NVRam/include/NVRam.h b/libs/NVRam/include/NVRam.h index a3d5378..405f6e9 100644 --- a/libs/NVRam/include/NVRam.h +++ b/libs/NVRam/include/NVRam.h @@ -62,7 +62,7 @@ void NVRam_enableWrites(void); void NVRam_disable(void); void NVRam_disableWrites(void); -uint32_t NVRam_crc(uint8_t *pcDatabuf, // Pointer to data buffer +uint32_t NVRam_crc(const uint8_t *pcDatabuf, // Pointer to data buffer uint32_t ulDatalen, // Length of data buffer in bytes uint32_t crc); // Initial value |

