1
0
Fork 0
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:
Pawel Spychalski (DzikuVx) 2018-04-23 16:21:23 +02:00
parent 3c4668c7ee
commit bf3d4ac3d0
42 changed files with 42 additions and 633 deletions

View file

@ -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