Skip to content
Commit 1ea2301f authored by Andreas Bießmann's avatar Andreas Bießmann Committed by Tom Rini
Browse files

board:tricorder: always work with valid eeprom data



Commit 89088058 introduced EEPROM parsing and
board detection but faild to return a valid tricorder_eeprom struct for backup
case.  When pressing S200 while reading EEPROM we ignore the value. We
returned falsely a tricorder_eeprom struct with uninitialized data which is
just garbage.
Initialize it by zeroing the whole structure.

Signed-off-by: default avatarAndreas Bießmann <andreas.biessmann@corscience.de>
Cc: Thomas Weber <thomas.weber@corscience.de>
Signed-off-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
parent 24542528
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment