Skip to content

Commit b1ba4fe

Browse files
committed
LPC55S69: Cast to cope with const mismatch
1 parent c89c280 commit b1ba4fe

File tree

1 file changed

+1
-1
lines changed
  • targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC55S69

1 file changed

+1
-1
lines changed

targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC55S69/flash_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ MBED_NONSECURE_ENTRY int32_t flash_program_page(flash_t *obj, uint32_t address,
116116
uint32_t status;
117117
uint32_t failedAddress, failedData;
118118

119-
status = FLASH_Program(&flash_config, address, data, size);
119+
status = FLASH_Program(&flash_config, address, (uint8_t *)data, size);
120120
if (status == kStatus_Success) {
121121
status = FLASH_VerifyProgram(&flash_config, address, size, data, &failedAddress, &failedData);
122122
}

0 commit comments

Comments
 (0)