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:
parent
400fe14e30
commit
b0d3db2456
2 changed files with 13 additions and 3 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue