ICM426xx - Avoid long startup delays when target allows 42605 and
commit5f4a50de05d7e9eba9e0703a2aec2f4b79fcbfc1
authorDominic Clifton <dominic.clifton@cleanflight.com>
Tue, 13 Jul 2021 12:01:23 +0000 (13 14:01 +0200)
committerDominic Clifton <dominic.clifton@cleanflight.com>
Tue, 10 Aug 2021 19:09:34 +0000 (10 21:09 +0200)
tree45193d9956dd1ae9cb73d7e66b6166734c7259fe
parent46c62cfcf2524c771629e66d063fde21fc097ffe
ICM426xx - Avoid long startup delays when target allows 42605 and
42688P.

If the target has a 42688P sensor there is a 20*150ms (3 second) delay
caused by the 42605 driver's detect code.

The 42605/42688P sensors are pin-compatible so it makes sense that a
target would specify BOTH sensors to allow flexibility in manufacturing.
src/main/drivers/accgyro/accgyro_spi_icm42605.c
src/main/drivers/accgyro/accgyro_spi_icm42688p.c