mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 16:11:56 +08:00
lpc17_40_progmem: fixed compilation issues.
This commit is contained in:
committed by
Xiang Xiao
parent
839414987c
commit
de213401a7
@@ -160,6 +160,6 @@ ifeq ($(CONFIG_LPC17_40_TMR0),y)
|
||||
CHIP_CSRCS += lpc17_40_timer.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_MTD_PROGMEM),y)
|
||||
ifeq ($(CONFIG_LPC17_40_PROGMEM),y)
|
||||
CHIP_CSRCS += lpc17_40_progmem.c
|
||||
endif
|
||||
|
||||
@@ -74,7 +74,7 @@ static void lpc17_40_iap(FAR void *in, FAR void *out)
|
||||
|
||||
flags = enter_critical_section();
|
||||
|
||||
((void *(FAR void *, FAR void *))LPC17_40_IAP_ENTRY_ADDR)(in, out);
|
||||
((void (*)(FAR void *, FAR void *))LPC17_40_IAP_ENTRY_ADDR)(in, out);
|
||||
|
||||
leave_critical_section(flags);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user