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) {
41
41
system_ticks ++ ;
42
42
}
43
43
44
- uint32_t board_millis (void ) {
45
- return system_ticks ;
46
- }
47
-
48
44
// Initializes board related state once on start up.
49
45
void board_init (void ) {
50
46
}
Original file line number Diff line number Diff line change @@ -40,10 +40,6 @@ void SysTick_Handler(void) {
40
40
system_ticks ++ ;
41
41
}
42
42
43
- uint32_t board_millis (void ) {
44
- return system_ticks ;
45
- }
46
-
47
43
// Initializes board related state once on start up.
48
44
void board_init (void ) {
49
45
}
Original file line number Diff line number Diff line change @@ -80,20 +80,6 @@ safe_mode_t port_init(void) {
80
80
}
81
81
}
82
82
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
-
97
83
// Enable clock to RTC peripheral
98
84
MXC_GCR -> clkctrl |= MXC_F_GCR_CLKCTRL_ERTCO_EN ;
99
85
while (!(MXC_GCR -> clkctrl & MXC_F_GCR_CLKCTRL_ERTCO_RDY )) {
You can’t perform that action at this time.
0 commit comments