Skip to content

Commit

Permalink
♻️ (imu): No abbreviation for drdy, use data_ready
Browse files Browse the repository at this point in the history
  • Loading branch information
YannLocatelli committed Feb 19, 2024
1 parent 67ea976 commit e976dc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/CoreIMU/source/CoreIMU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ auto CoreIMU::ptr_io_read(CoreIMU *handle, uint8_t read_address, uint8_t *p_buff

void CoreIMU::setDataAvailableInterrupt()
{
lsm6dsox_dataready_pulsed_t drdy_pulsed {LSM6DSOX_DRDY_PULSED};
lsm6dsox_data_ready_mode_set(&_register_io_function, drdy_pulsed);
lsm6dsox_dataready_pulsed_t data_ready_pulsed {LSM6DSOX_DRDY_PULSED};
lsm6dsox_data_ready_mode_set(&_register_io_function, data_ready_pulsed);

lsm6dsox_pin_int1_route_t lsm6dsox_int1 {
.drdy_xl = PROPERTY_ENABLE,
Expand Down

0 comments on commit e976dc2

Please sign in to comment.