Rename ENABLE_PERIPHERAL_* macros to EnabledBootloaderPeripherial_* enums.

This commit is contained in:
László Monda
2017-09-22 01:31:03 +02:00
parent 4e665b5701
commit 444e9d58d0
2 changed files with 11 additions and 10 deletions

View File

@@ -3,7 +3,7 @@
__attribute__((used, section(".BootloaderConfig"))) const bootloader_config_t BootloaderConfig = {
.tag = BOOTLOADER_TAG,
.enabledPeripherals = ENABLE_PERIPHERAL_I2C,
.enabledPeripherals = EnabledBootloaderPeripherial_I2c,
.i2cSlaveAddress = I2C_ADDRESS_LEFT_KEYBOARD_HALF_BOOTLOADER,
.peripheralDetectionTimeoutMs = BOOTLOADER_TIMEOUT_MS,
.clockFlags = 0xFF, // Disable High speed mode