Calypso keypad driver: fixed broken initialization
Signed-off-by: Thomas Bertani <mail@thomasbertani.it>
This commit is contained in:
parent
65e2d5abe6
commit
67b2eeccb5
|
@ -46,7 +46,7 @@ CMN_CSRCS = up_allocateheap.c up_assert.c up_blocktask.c up_copystate.c \
|
|||
up_interruptcontext.c up_prefetchabort.c up_releasepending.c \
|
||||
up_releasestack.c up_reprioritizertr.c up_schedulesigaction.c \
|
||||
up_sigdeliver.c up_syscall.c up_unblocktask.c \
|
||||
up_undefinedinsn.c up_usestack.c calypso_power.c calypso_initialize.c
|
||||
up_undefinedinsn.c up_usestack.c calypso_power.c
|
||||
|
||||
CHIP_ASRCS = calypso_lowputc.S
|
||||
CHIP_CSRCS = calypso_irq.c calypso_timer.c calypso_heap.c \
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
#include <nuttx/arch.h>
|
||||
|
||||
void up_initialize(void)
|
||||
{
|
||||
(void)calypso_armio();
|
||||
(void)calypso_keypad();
|
||||
}
|
|
@ -188,5 +188,8 @@ void up_initialize(void)
|
|||
|
||||
up_usbinitialize();
|
||||
up_ledon(LED_IRQSENABLED);
|
||||
|
||||
/* Initialize the keypad driver */
|
||||
calypso_armio();
|
||||
up_keypad();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue