]> the.earth.li Git - riso-kagaku-clone.git/commit
Fix serial number retrieval from EEPROM main
authorJonathan McDowell <noodles@earth.li>
Sat, 14 Jan 2017 11:52:01 +0000 (11:52 +0000)
committerJonathan McDowell <noodles@earth.li>
Sat, 14 Jan 2017 11:52:01 +0000 (11:52 +0000)
commitd4fefe5a91033307f89ba82a7f4486b63762cb9e
tree5c5c9df4d8c3c31d4b2fe525b18023beea85ae41
parent197a3de5d357296015fe30c4300946231b8133eb
Fix serial number retrieval from EEPROM

The serial number retrieval code was never being called, so we were
always reporting ourselves as "UNSETXXX". Call the code on startup
and remove the check to see if we've read it, as we'll only do it
once anyway.
main.c