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 9b4d0fb commit 3b677cf
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lis2dh12_reg.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,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 3b677cf

Please sign in to comment.