Rename InitTestLed to TestLed_Init

This commit is contained in:
Eric Tang
2018-06-24 20:22:19 -07:00
parent 04f4053bde
commit 0155447c6a
6 changed files with 6 additions and 6 deletions

View File

@@ -84,7 +84,7 @@ void InitPeripherals(void)
{
initInterruptPriorities();
InitLedDriver();
InitTestLed();
TestLed_Init();
LedPwm_Init();
DebugOverSpi_Init();
initI2c();

View File

@@ -1,7 +1,7 @@
#include "test_led.h"
#include "fsl_port.h"
extern void InitTestLed(void)
extern void TestLed_Init(void)
{
CLOCK_EnableClock(TEST_LED_CLOCK);
PORT_SetPinMux(TEST_LED_PORT, TEST_LED_PIN, kPORT_MuxAsGpio);

View File

@@ -22,6 +22,6 @@
// Functions:
void InitTestLed(void);
void TestLed_Init(void);
#endif

View File

@@ -156,7 +156,7 @@ void InitPeripherals(void)
InitMergeSensor();
ADC_Init();
initI2c();
InitTestLed();
TestLed_Init();
LedPwm_Init();
InitI2cWatchdog();
InitKeyDebouncer();

View File

@@ -1,7 +1,7 @@
#include "test_led.h"
#include "fsl_port.h"
void InitTestLed(void)
void TestLed_Init(void)
{
CLOCK_EnableClock(TEST_LED_CLOCK);
PORT_SetPinMux(TEST_LED_GPIO_PORT, TEST_LED_GPIO_PIN, kPORT_MuxAsGpio);

View File

@@ -22,6 +22,6 @@
// Functions:
void InitTestLed(void);
void TestLed_Init(void);
#endif