1.1 --- a/stage2/board-nanonote.c Sat May 14 21:36:55 2016 +0200
1.2 +++ b/stage2/board-nanonote.c Sat May 14 21:40:59 2016 +0200
1.3 @@ -25,7 +25,7 @@
1.4
1.5 /* Later initialisation functions. */
1.6
1.7 -void gpio_init2(void)
1.8 +void gpio_init2()
1.9 {
1.10 /*
1.11 * Initialize LCD pins
1.12 @@ -80,7 +80,7 @@
1.13 __gpio_enable_pull(GPIO_USB_DETECT);
1.14 }
1.15
1.16 -void cpm_init(void)
1.17 +void cpm_init()
1.18 {
1.19 __cpm_stop_ipu();
1.20 __cpm_stop_cim();
1.21 @@ -94,7 +94,7 @@
1.22 /* __cpm_stop_aic2();*/
1.23 }
1.24
1.25 -void rtc_init(void)
1.26 +void rtc_init()
1.27 {
1.28 while ( !__rtc_write_ready());
1.29 __rtc_enable_alarm(); /* enable alarm */
1.30 @@ -118,7 +118,7 @@
1.31 * Timer without interrupts.
1.32 */
1.33
1.34 -void timer_init(void)
1.35 +void timer_init()
1.36 {
1.37 __tcu_disable_pwm_output(TIMER_CHAN);
1.38 __tcu_select_extalclk(TIMER_CHAN);
1.39 @@ -140,14 +140,14 @@
1.40
1.41 /* Timer interrupt activation. */
1.42
1.43 -void timer_init_irq(void)
1.44 +void timer_init_irq()
1.45 {
1.46 __tcu_unmask_full_match_irq(TIMER_CHAN);
1.47 __tcu_clear_full_match_flag(TIMER_CHAN);
1.48 __intc_unmask_irq(TIMER_CHAN_IRQ);
1.49 }
1.50
1.51 -void timer_clear(void)
1.52 +void timer_clear()
1.53 {
1.54 __intc_ack_irq(TIMER_CHAN_IRQ);
1.55 __tcu_clear_full_match_flag(TIMER_CHAN);
1.56 @@ -155,7 +155,7 @@
1.57
1.58 /* Board startup detection. */
1.59
1.60 -int is_started(void)
1.61 +int is_started()
1.62 {
1.63 return REG_CPM_CLKGR != 0;
1.64 }