X-CUBE-EEPROM function EE_Init returns EE_OK when flash program fails instead of EE_WRITE_ERROR
While attempting to identify an issue with reading and writing to emulated EEPROM, I have identified a bug in V7.0.0 of the X-CUBE-EEPROM source code.
This was identified in the STM32WB version of `flash_interface.c` with `DUALCORE_FLASH_SHARING` defined.
In the function `FI_WriteDoubleWord` on lines 97-104, the value of `ee_status` is correctly set to `EE_WRITE_ERROR` when a program failure occurs, however this is overwritten on line 104 with `EE_OK`.

As a fix for this, I changed these lines to the following:

Could this be addressed in the next release of this tool?