mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 09:45:37 +03:00
remove dead i2c overclock code
This commit is contained in:
parent
1a75b0d5b3
commit
41875af760
2 changed files with 0 additions and 8 deletions
|
@ -201,12 +201,6 @@ void I2C4_EV_IRQHandler(void)
|
||||||
|
|
||||||
static volatile uint16_t i2cErrorCount = 0;
|
static volatile uint16_t i2cErrorCount = 0;
|
||||||
|
|
||||||
static bool i2cOverClock;
|
|
||||||
|
|
||||||
void i2cSetOverclock(uint8_t OverClock) {
|
|
||||||
i2cOverClock = (OverClock) ? true : false;
|
|
||||||
}
|
|
||||||
|
|
||||||
static bool i2cHandleHardwareFailure(I2CDevice device)
|
static bool i2cHandleHardwareFailure(I2CDevice device)
|
||||||
{
|
{
|
||||||
(void)device;
|
(void)device;
|
||||||
|
|
|
@ -424,8 +424,6 @@ void init(void)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//i2cSetOverclock(masterConfig.i2c_overclock);
|
|
||||||
|
|
||||||
debugMode = systemConfig()->debug_mode;
|
debugMode = systemConfig()->debug_mode;
|
||||||
|
|
||||||
#ifdef TARGET_PREINIT
|
#ifdef TARGET_PREINIT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue