Rename InitPeripherials to InitPeripherals
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -10,6 +10,6 @@
|
||||
|
||||
// Functions:
|
||||
|
||||
void InitPeripherials(void);
|
||||
void InitPeripherals(void);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -28,7 +28,7 @@ volatile bool DisableKeyMatrixScanState;
|
||||
int main(void)
|
||||
{
|
||||
InitClock();
|
||||
InitPeripherials();
|
||||
InitPeripherals();
|
||||
KeyMatrix_Init(&keyMatrix);
|
||||
|
||||
while (1) {
|
||||
|
||||
@@ -50,7 +50,7 @@ void InitI2c() {
|
||||
I2C_MasterInit(I2C_EEPROM_BUS_BASEADDR, &masterConfig, sourceClock);
|
||||
}
|
||||
|
||||
void InitPeripherials(void)
|
||||
void InitPeripherals(void)
|
||||
{
|
||||
InitLedDriver();
|
||||
InitResetButton();
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
|
||||
// Functions:
|
||||
|
||||
extern void InitPeripherials();
|
||||
extern void InitPeripherals();
|
||||
|
||||
#endif
|
||||
|
||||
@@ -62,7 +62,7 @@ void UpdateUsbReports()
|
||||
}
|
||||
|
||||
void main() {
|
||||
InitPeripherials();
|
||||
InitPeripherals();
|
||||
InitClock();
|
||||
|
||||
if (Wormhole.magicNumber == WORMHOLE_MAGIC_NUMBER && Wormhole.enumerationMode == EnumerationMode_BusPal) {
|
||||
|
||||
Reference in New Issue
Block a user