File tree Expand file tree Collapse file tree 3 files changed +0
-22
lines changed Expand file tree Collapse file tree 3 files changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -41,10 +41,6 @@ void SysTick_Handler(void) {
4141 system_ticks ++ ;
4242}
4343
44- uint32_t board_millis (void ) {
45- return system_ticks ;
46- }
47-
4844// Initializes board related state once on start up.
4945void board_init (void ) {
5046}
Original file line number Diff line number Diff line change @@ -40,10 +40,6 @@ void SysTick_Handler(void) {
4040 system_ticks ++ ;
4141}
4242
43- uint32_t board_millis (void ) {
44- return system_ticks ;
45- }
46-
4743// Initializes board related state once on start up.
4844void board_init (void ) {
4945}
Original file line number Diff line number Diff line change @@ -80,20 +80,6 @@ safe_mode_t port_init(void) {
8080 }
8181 }
8282
83- // Init Board LEDs
84- /* setup GPIO for the LED */
85- for (int i = 0 ; i < num_leds ; i ++ ) {
86- // Set the output value
87- MXC_GPIO_OutClr (led_pin [i ].port , led_pin [i ].mask );
88-
89- if (MXC_GPIO_Config (& led_pin [i ]) != E_NO_ERROR ) {
90- return SAFE_MODE_PROGRAMMATIC ;
91- }
92- }
93-
94- // Turn on one LED to indicate Sign of Life
95- MXC_GPIO_OutSet (led_pin [2 ].port , led_pin [2 ].mask );
96-
9783 // Enable clock to RTC peripheral
9884 MXC_GCR -> clkctrl |= MXC_F_GCR_CLKCTRL_ERTCO_EN ;
9985 while (!(MXC_GCR -> clkctrl & MXC_F_GCR_CLKCTRL_ERTCO_RDY )) {
You can’t perform that action at this time.
0 commit comments