9
0
Fork 0

Calypso keypad driver: fixed broken initialization

Signed-off-by: Thomas Bertani <mail@thomasbertani.it>
This commit is contained in:
Thomas Bertani 2012-09-05 21:33:41 +02:00
parent 65e2d5abe6
commit 67b2eeccb5
3 changed files with 4 additions and 8 deletions

View File

@ -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 \

View File

@ -1,7 +0,0 @@
#include <nuttx/arch.h>
void up_initialize(void)
{
(void)calypso_armio();
(void)calypso_keypad();
}

View File

@ -188,5 +188,8 @@ void up_initialize(void)
up_usbinitialize();
up_ledon(LED_IRQSENABLED);
/* Initialize the keypad driver */
calypso_armio();
up_keypad();
}