Skip to content

Commit

Permalink
bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Myers-Ty committed Dec 6, 2024
1 parent dc3596a commit abfd907
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Core/Src/msb.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,10 @@ int32_t imu_data_get(stmdev_ctx_t *ctx, stmdev_ctx_t *aux_ctx,
if (mut_stat)
return mut_stat;
HAL_StatusTypeDef hal_stat =
lsm6dso_data_get(&ctx, &aux_ctx, &imu_md_temp, &imu_data_temp);
lsm6dso_data_get(ctx, aux_ctx, imu_md_temp, imu_data_temp);
osMutexRelease(i2c_mutex);
if (hal_stat)
return hal_stat;

// memcpy(gyro, imu.gyro, 3);

osMutexRelease(i2c_mutex);
return 0;
}
#endif

0 comments on commit abfd907

Please sign in to comment.