rusefi/firmware/controllers/flash_main.h

27 lines
420 B
C
Raw Normal View History

2014-04-22 15:13:46 -07:00
/**
* @file flash_main.h
* @brief
*
* @date Sep 19, 2013
* @author Andrey Belomutskiy, (c) 2012-2013
*/
#ifndef FLASH_MAIN_H_
#define FLASH_MAIN_H_
#include "engine_configuration.h"
#include "crc.h"
#define FLASH_DATA_VERSION 20140309
typedef struct {
int version;
engine_configuration_s configuration;
crc value;
} FlashState;
void initFlash(void);
void writeToFlash(void);
#endif /* FLASH_MAIN_H_ */