opentx/opentx — pull request #1355 by projectkk2glider (2014-06-23 17:51:36+00:00)
Title: Fixes #1283 - EEPROM backup/restore - unexpectedShutdown set

Could not come up with better solution. This uses two EEPROM writes.

My original idea was to modify unexpectedShutdown flag in file only. But how to get its offset? I guess we use some king of wear levelling for EEPROM so unexpectedShutdown flag location is not fixed, right?