Bugfix: restore storage.

Storage restore was broken due to my previous patch.
This commit is contained in:
Jochen Hoenicke 2016-05-25 01:14:32 +02:00
parent c691f9b5e9
commit 87bfd5a829
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ void storage_check_flash_errors(void)
bool storage_from_flash(void) bool storage_from_flash(void)
{ {
if (memcmp((void *)FLASH_STORAGE_START, "stor", 4) == 0) { if (memcmp((void *)FLASH_STORAGE_START, "stor", 4) != 0) {
// wrong magic // wrong magic
return false; return false;
} }