Replace clock_config.[ch] with the much shorter init_clock.[ch]

This commit is contained in:
László Monda
2016-10-11 02:41:29 +02:00
parent 4771b80817
commit 09e6314770
5 changed files with 44 additions and 201 deletions

View File

@@ -1,5 +1,5 @@
#include "fsl_gpio.h"
#include "clock_config.h"
#include "init_clock.h"
#include "fsl_port.h"
#include "key_matrix.h"
@@ -42,7 +42,7 @@ int main(void)
CLOCK_EnableClock(TEST_LED_CLOCK);
PORT_SetPinMux(TEST_LED_PORT, TEST_LED_PIN, kPORT_MuxAsGpio);
TEST_LED_INIT(1);
BOARD_BootClockRUN();
InitClock();
KeyMatrix_Init(&keyMatrix);
KeyMatrix_Scan(&keyMatrix);