1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-24 16:55:29 +03:00

Fix building without I2C

This commit is contained in:
Michel Pastor 2020-04-19 18:46:53 +02:00
parent 0f85f3718d
commit ae035ab557

View file

@ -211,7 +211,9 @@ void init(void)
// Re-initialize system clock to their final values (if necessary)
systemClockSetup(systemConfig()->cpuUnderclock);
#ifdef USE_I2C
i2cSetSpeed(systemConfig()->i2c_speed);
#endif
#ifdef USE_HARDWARE_PREBOOT_SETUP
initialisePreBootHardware();