Skip to content

Commit

Permalink
LPC1768: flash_hal removal duplication
Browse files Browse the repository at this point in the history
IAP typedef duplication removal
  • Loading branch information
0xc0170 committed Sep 25, 2017
1 parent 6a65610 commit 9a191de
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions targets/TARGET_NXP/TARGET_LPC176X/device/flash_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,6 @@ int32_t flash_erase_sector(flash_t *obj, uint32_t address)

}

/* IAP Call */
typedef void (*IAP_Entry) (unsigned long *cmd, unsigned long *stat);
#define IAP_Call ((IAP_Entry) 0x1FFF1FF1)

int32_t flash_program_page(flash_t *obj, uint32_t address,
const uint8_t *data, uint32_t size)
{
Expand Down

0 comments on commit 9a191de

Please sign in to comment.