Rename InitPeripherials to InitPeripherals

This commit is contained in:
Eric Tang
2017-07-12 20:06:11 -07:00
parent 595ced9902
commit 9a5e146866
6 changed files with 6 additions and 6 deletions

View File

@@ -64,7 +64,7 @@ void InitLedDriver(void) {
GPIO_WritePinOutput(LED_DRIVER_SDB_GPIO, LED_DRIVER_SDB_PIN, 1);
}
void InitPeripherials(void)
void InitPeripherals(void)
{
InitLedDriver();
InitTestLed();

View File

@@ -10,6 +10,6 @@
// Functions:
void InitPeripherials(void);
void InitPeripherals(void);
#endif

View File

@@ -28,7 +28,7 @@ volatile bool DisableKeyMatrixScanState;
int main(void)
{
InitClock();
InitPeripherials();
InitPeripherals();
KeyMatrix_Init(&keyMatrix);
while (1) {

View File

@@ -50,7 +50,7 @@ void InitI2c() {
I2C_MasterInit(I2C_EEPROM_BUS_BASEADDR, &masterConfig, sourceClock);
}
void InitPeripherials(void)
void InitPeripherals(void)
{
InitLedDriver();
InitResetButton();

View File

@@ -5,6 +5,6 @@
// Functions:
extern void InitPeripherials();
extern void InitPeripherals();
#endif

View File

@@ -62,7 +62,7 @@ void UpdateUsbReports()
}
void main() {
InitPeripherials();
InitPeripherals();
InitClock();
if (Wormhole.magicNumber == WORMHOLE_MAGIC_NUMBER && Wormhole.enumerationMode == EnumerationMode_BusPal) {