lpc17_40_progmem: fixed compilation issues.

This commit is contained in:
Fotis Panagiotopoulos
2021-07-01 15:20:41 +03:00
committed by Xiang Xiao
parent 839414987c
commit de213401a7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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);
}