remove dead i2c overclock code (#8443)

remove dead i2c overclock code
This commit is contained in:
Michael Keller 2019-06-20 13:04:11 +12:00 committed by GitHub
commit 6160a442c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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