Skip to content

Commit

Permalink
added attribute const to stmdev_write_ptr signature
Browse files Browse the repository at this point in the history
  • Loading branch information
albezanc committed May 21, 2021
1 parent 9f7c366 commit 990fc53
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lsm6dsl_reg.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,8 @@ typedef struct
*
*/

typedef int32_t (*stmdev_write_ptr)(void *, uint8_t, uint8_t *,
uint16_t);
typedef int32_t (*stmdev_read_ptr)(void *, uint8_t, uint8_t *,
uint16_t);
typedef int32_t (*stmdev_write_ptr)(void *, uint8_t, const uint8_t *, uint16_t);
typedef int32_t (*stmdev_read_ptr)(void *, uint8_t, uint8_t *, uint16_t);

typedef struct
{
Expand Down

0 comments on commit 990fc53

Please sign in to comment.