Sfoglia il codice sorgente

Add "const" to ctx arg for all APIs

The ctx argument points to a stmdev_ctx_t structure
that cannot be changed inside drivers API. So make
it constant just to prevent bad usage.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
Armando Visconti 2 anni fa
parent
commit
3923334265
2 ha cambiato i file con 334 aggiunte e 330 eliminazioni
  1. 114 110
      lsm6ds3tr-c_reg.c
  2. 220 220
      lsm6ds3tr-c_reg.h

File diff suppressed because it is too large
+ 114 - 110
lsm6ds3tr-c_reg.c


File diff suppressed because it is too large
+ 220 - 220
lsm6ds3tr-c_reg.h


Some files were not shown because too many files changed in this diff