mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-26 09:45:33 +03:00
Naze and all it traces removed
This commit is contained in:
parent
3c4668c7ee
commit
bf3d4ac3d0
42 changed files with 42 additions and 633 deletions
|
@ -375,14 +375,6 @@ void init(void)
|
|||
#endif
|
||||
};
|
||||
|
||||
#if defined(NAZE) && defined(USE_HARDWARE_REVISION_DETECTION)
|
||||
if (hardwareRevision >= NAZE32_REV5) {
|
||||
// naze rev4 and below used opendrain to PNP for buzzer. Rev5 and above use PP to NPN.
|
||||
beeperDevConfig.isOD = false;
|
||||
beeperDevConfig.isInverted = true;
|
||||
}
|
||||
#endif
|
||||
|
||||
beeperInit(&beeperDevConfig);
|
||||
#endif
|
||||
#ifdef USE_LIGHTS
|
||||
|
@ -625,11 +617,7 @@ void init(void)
|
|||
#endif
|
||||
|
||||
#ifdef USE_FLASHFS
|
||||
#ifdef NAZE
|
||||
if (hardwareRevision == NAZE32_REV5) {
|
||||
m25p16_init(0);
|
||||
}
|
||||
#elif defined(USE_FLASH_M25P16)
|
||||
#ifdef USE_FLASH_M25P16
|
||||
m25p16_init(0);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue