eeprom guard
This commit is contained in:
parent
c1451876db
commit
26f07f5cad
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#if EFI_PROD_CODE && HAL_USE_EEPROM
|
||||||
#ifndef EE_PAGE_SIZE
|
#ifndef EE_PAGE_SIZE
|
||||||
#define EE_PAGE_SIZE 32
|
#define EE_PAGE_SIZE 32
|
||||||
#endif
|
#endif
|
||||||
|
@ -17,3 +17,5 @@ struct odometer_state {
|
||||||
int totalMeters;
|
int totalMeters;
|
||||||
int crc;
|
int crc;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue