Skip to content

Commit 9a191de

Browse files
committed
LPC1768: flash_hal removal duplication
IAP typedef duplication removal
1 parent 6a65610 commit 9a191de

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

targets/TARGET_NXP/TARGET_LPC176X/device/flash_api.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,6 @@ int32_t flash_erase_sector(flash_t *obj, uint32_t address)
108108

109109
}
110110

111-
/* IAP Call */
112-
typedef void (*IAP_Entry) (unsigned long *cmd, unsigned long *stat);
113-
#define IAP_Call ((IAP_Entry) 0x1FFF1FF1)
114-
115111
int32_t flash_program_page(flash_t *obj, uint32_t address,
116112
const uint8_t *data, uint32_t size)
117113
{

0 commit comments

Comments
 (0)