1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Fixed gyro detection for multi gyro setups.

This commit is contained in:
mikeller 2019-04-03 00:41:06 +13:00
parent dcb34d3761
commit e44f75b4a7
7 changed files with 111 additions and 92 deletions

View file

@ -59,7 +59,6 @@ TEST(SensorGyro, Detect)
{
const gyroHardware_e detected = gyroDetect(gyroDevPtr);
EXPECT_EQ(GYRO_FAKE, detected);
EXPECT_EQ(GYRO_FAKE, detectedSensors[SENSOR_INDEX_GYRO]);
}
TEST(SensorGyro, Init)