Skip to content
Commit 99f4a078 authored by Haiyue Wang's avatar Haiyue Wang Committed by Benjamin Cabé
Browse files

drivers: eeprom: stm32: simplify write error handling



Remove the extra unlock and value return, just print the error code when
failed to do DATAEEPROM_Lock().

Signed-off-by: default avatarHaiyue Wang <haiyuewa@163.com>
parent 1446416b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment