diff --git a/targets/TARGET_Cypress/TARGET_PSOC6/flash_api.c b/targets/TARGET_Cypress/TARGET_PSOC6/flash_api.c index 16452e61d2..7141757bf0 100644 --- a/targets/TARGET_Cypress/TARGET_PSOC6/flash_api.c +++ b/targets/TARGET_Cypress/TARGET_PSOC6/flash_api.c @@ -86,7 +86,7 @@ uint8_t flash_get_erase_value(const flash_t *obj) { (void)obj; - return 0xFF; + return 0x00; } #endif // DEVICE_FLASH