1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-12 19:10:32 +03:00

Update accgyro_spi_lsm6dsv16x.c

- backport of #13784
This commit is contained in:
Mark Haslinghuis 2024-07-26 18:10:09 +02:00 committed by GitHub
parent 073b70f7dc
commit 3121a9594e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1048,7 +1048,7 @@ bool lsm6dsv16xGyroReadSPI(gyroDev_t *gyro)
case GYRO_EXTI_INT: case GYRO_EXTI_INT:
case GYRO_EXTI_NO_INT: case GYRO_EXTI_NO_INT:
{ {
gyro->dev.txBuf[0] = gyro->gyroDataReg | 0x80; gyro->dev.txBuf[0] = LSM6DSV_OUTX_L_G | 0x80;
busSegment_t segments[] = { busSegment_t segments[] = {
{.u.buffers = {NULL, NULL}, 7, true, NULL}, {.u.buffers = {NULL, NULL}, 7, true, NULL},