1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +03:00

Afromini NAZE Alias target // rev5 override

This commit is contained in:
borisbstyle 2015-12-06 23:38:17 +01:00
parent 400fe14e30
commit b0d3db2456
2 changed files with 13 additions and 3 deletions

View file

@ -105,12 +105,16 @@ const extiConfig_t *selectMPUIntExtiConfig(void)
.exti_irqn = EXTI15_10_IRQn
};
#ifdef AFROMINI
return &nazeRev5MPUIntExtiConfig;
#else
if (hardwareRevision < NAZE32_REV5) {
return &nazeRev4MPUIntExtiConfig;
} else {
return &nazeRev5MPUIntExtiConfig;
}
#endif
#endif
#if defined(SPRACINGF3)
static const extiConfig_t spRacingF3MPUIntExtiConfig = {