Taranis X9D REV4a support removed (didn't compile since 2.2)
This commit is contained in:
@@ -42,8 +42,6 @@
|
||||
const int8_t ana_direction[NUM_ANALOGS] = {-1,1,-1,1, 1,1};
|
||||
#elif defined(PCBXLITE)
|
||||
const int8_t ana_direction[NUM_ANALOGS] = {1,-1,-1,1, -1,1, 1};
|
||||
#elif defined(REV4a)
|
||||
const int8_t ana_direction[NUM_ANALOGS] = {1,-1,1,-1, 1,-1,0, 1,1, 1};
|
||||
#else
|
||||
const int8_t ana_direction[NUM_ANALOGS] = {1,-1,1,-1, 1,1,0, 1,1, 1};
|
||||
#endif
|
||||
|
||||
@@ -639,11 +639,7 @@ uint8_t isBacklightEnabled(void);
|
||||
#endif
|
||||
|
||||
// I2C driver: EEPROM + Audio Volume
|
||||
#if defined(REV4a)
|
||||
#define EEPROM_SIZE (64*1024)
|
||||
#else
|
||||
#define EEPROM_SIZE (32*1024)
|
||||
#endif
|
||||
#define EEPROM_SIZE (32*1024)
|
||||
|
||||
void i2cInit(void);
|
||||
void eepromReadBlock(uint8_t * buffer, size_t address, size_t size);
|
||||
|
||||
@@ -1215,11 +1215,7 @@
|
||||
#define I2C_SCL_GPIO_PinSource GPIO_PinSource6
|
||||
#define I2C_SDA_GPIO_PinSource GPIO_PinSource7
|
||||
#endif
|
||||
#if defined(REV4a)
|
||||
#define I2C_SPEED 100000
|
||||
#else
|
||||
#define I2C_SPEED 400000
|
||||
#endif
|
||||
#define I2C_SPEED 400000
|
||||
#define I2C_ADDRESS_EEPROM 0xA2
|
||||
#define I2C_ADDRESS_VOLUME 0x5C
|
||||
#define I2C_FLASH_PAGESIZE 64
|
||||
|
||||
Reference in New Issue
Block a user