Name a couple of I2C related variables more intuitively.

This commit is contained in:
László Monda
2016-09-26 20:33:03 +02:00
parent b280fde8a5
commit 2dd9aa87b0
4 changed files with 9 additions and 9 deletions

View File

@@ -16,7 +16,7 @@ void main() {
I2C_MasterGetDefaultConfig(&masterConfig);
masterConfig.baudRate_Bps = I2C_BAUD_RATE;
sourceClock = CLOCK_GetFreq(I2C_MASTER_CLK_SRC);
I2C_MasterInit(EXAMPLE_I2C_MASTER_BASEADDR, &masterConfig, sourceClock);
I2C_MasterInit(I2C_BASEADDR_MAIN_BUS, &masterConfig, sourceClock);
LedDriver_EnableAllLeds();
InitUsb();