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 ca1f726 commit f352aa6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lis2dw12_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 f352aa6

Please sign in to comment.