Skip to content

Commit

Permalink
modules/hal_st: Align sensor drivers to stmemsc HAL i/f v2.8
Browse files Browse the repository at this point in the history
Align all sensor drivers that are using stmemsc (STdC) HAL i/f
to new APIs of stmemsc v2.8

Requires zephyrproject-rtos/hal_st#24

Signed-off-by: Armando Visconti <[email protected]>
  • Loading branch information
avisconti committed Dec 29, 2024
1 parent c4712e4 commit b577b91
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/sensor/st/lps2xdf/ilps22qs.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ int st_ilps22qs_init(const struct device *dev)

/* Select bus interface */
ilps22qs_bus_mode_get(ctx, &bus_mode);
bus_mode.filter = ILPS22QS_AUTO;
bus_mode.filter = ILPS22QS_FILTER_AUTO;
bus_mode.interface = ILPS22QS_SEL_BY_HW;
ilps22qs_bus_mode_set(ctx, &bus_mode);
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/sensor/st/lps2xdf/lps22df.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ int st_lps22df_init(const struct device *dev)

/* Select bus interface */
lps22df_bus_mode_get(ctx, &bus_mode);
bus_mode.filter = LPS22DF_AUTO;
bus_mode.filter = LPS22DF_FILTER_AUTO;
bus_mode.interface = LPS22DF_SEL_BY_HW;
lps22df_bus_mode_set(ctx, &bus_mode);
}
Expand Down
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ manifest:
groups:
- hal
- name: hal_st
revision: b2f548fe672f24122c7f92027b2c9eeea8a0483a
revision: 05fd4533730a9aea845261c5d24ed9832a6f0b6e
path: modules/hal/st
groups:
- hal
Expand Down

0 comments on commit b577b91

Please sign in to comment.