remove dead i2c overclock code

This commit is contained in:
Steffen Windoffer 2019-06-18 16:47:16 +02:00
parent 1a75b0d5b3
commit 41875af760
2 changed files with 0 additions and 8 deletions

View File

@ -201,12 +201,6 @@ void I2C4_EV_IRQHandler(void)
static volatile uint16_t i2cErrorCount = 0;
static bool i2cOverClock;
void i2cSetOverclock(uint8_t OverClock) {
i2cOverClock = (OverClock) ? true : false;
}
static bool i2cHandleHardwareFailure(I2CDevice device)
{
(void)device;

View File

@ -424,8 +424,6 @@ void init(void)
}
#endif
//i2cSetOverclock(masterConfig.i2c_overclock);
debugMode = systemConfig()->debug_mode;
#ifdef TARGET_PREINIT