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:
parent
eba9171d0e
commit
cf5cb10d6f
3 changed files with 2 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue