1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-15 12:25:12 +03:00

Taranis X9D REV4a support removed (didn't compile since 2.2)

This commit is contained in:
Bertrand Songis 2019-05-21 13:13:14 +02:00
parent eba9171d0e
commit cf5cb10d6f
No known key found for this signature in database
GPG key ID: F189F79290FEC50F
3 changed files with 2 additions and 12 deletions

View file

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

View file

@ -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
void i2cInit(void);
void eepromReadBlock(uint8_t * buffer, size_t address, size_t size);

View file

@ -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_ADDRESS_EEPROM 0xA2
#define I2C_ADDRESS_VOLUME 0x5C
#define I2C_FLASH_PAGESIZE 64