remove dead i2c overclock code
This commit is contained in:
parent
1a75b0d5b3
commit
41875af760
|
@ -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;
|
||||
|
|
|
@ -424,8 +424,6 @@ void init(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
//i2cSetOverclock(masterConfig.i2c_overclock);
|
||||
|
||||
debugMode = systemConfig()->debug_mode;
|
||||
|
||||
#ifdef TARGET_PREINIT
|
||||
|
|
Loading…
Reference in New Issue