feat(driver): autodetect IMU, add support for SC7U22 (#7191)

Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
3djc
2026-03-25 16:19:03 +10:00
committed by GitHub
co-authored by raphaelcoeffic Claude Opus 4.6
parent 5ea531d391
commit 0ce5c8f3f2
59 changed files with 867 additions and 865 deletions
+1 -5
View File
@@ -128,7 +128,7 @@ constexpr uint8_t MIXER_MAX_PERIOD = MAX_REFRESH_RATE / 1000 /*ms*/;
void execMixerFrequentActions()
{
#if defined(IMU)
gyro.wakeup();
gyroWakeup();
#endif
#if defined(BLUETOOTH)
@@ -138,10 +138,6 @@ void execMixerFrequentActions()
void mixerTask()
{
#if defined(IMU)
gyroInit();
#endif
while (task_running()) {
int timeout = 0;