Merge pull request #1708 from Wind0r/remove_hardwareRevisonNames

remove unused hardwareRevisonNames
This commit is contained in:
Anders Höglund 2016-11-30 20:38:18 +01:00 committed by GitHub
commit 48c72f473e
6 changed files with 0 additions and 40 deletions

View File

@ -28,11 +28,6 @@
#include "drivers/exti.h"
#include "hardware_revision.h"
static const char * const hardwareRevisionNames[] = {
"Unknown",
"AlienFlight F1 V1",
};
uint8_t hardwareRevision = AFF1_REV_1;
uint8_t hardwareMotorType = MOTOR_UNKNOWN;

View File

@ -28,12 +28,6 @@
#include "drivers/exti.h"
#include "hardware_revision.h"
static const char * const hardwareRevisionNames[] = {
"Unknown",
"AlienFlight F3 V1",
"AlienFlight F3 V2"
};
uint8_t hardwareRevision = AFF3_UNKNOWN;
uint8_t hardwareMotorType = MOTOR_UNKNOWN;

View File

@ -27,12 +27,6 @@
#include "drivers/io.h"
#include "hardware_revision.h"
static const char * const hardwareRevisionNames[] = {
"Unknown",
"AlienFlight F4 V1",
"AlienFlight F4 V2"
};
uint8_t hardwareRevision = AFF4_UNKNOWN;
uint8_t hardwareMotorType = MOTOR_UNKNOWN;

View File

@ -29,14 +29,6 @@
#include "drivers/flash_m25p16.h"
#include "hardware_revision.h"
static const char * const hardwareRevisionNames[] = {
"Unknown",
"BlueJay rev1",
"BlueJay rev2",
"BlueJay rev3",
"BlueJay rev3a"
};
uint8_t hardwareRevision = UNKNOWN;
void detectHardwareRevision(void)
@ -99,5 +91,3 @@ void updateHardwareRevision(void)
IOInit(IOGetByTag(IO_TAG(PB3)), OWNER_FREE, 0);
}
}

View File

@ -32,12 +32,6 @@
#include "hardware_revision.h"
static const char * const hardwareRevisionNames[] = {
"Unknown",
"R1",
"R2"
};
uint8_t hardwareRevision = UNKNOWN;
void detectHardwareRevision(void)

View File

@ -34,13 +34,6 @@
#include "hardware_revision.h"
static const char * const hardwareRevisionNames[] = {
"Unknown",
"Naze 32",
"Naze32 rev.5",
"Naze32 SP"
};
uint8_t hardwareRevision = UNKNOWN;
void detectHardwareRevision(void)