eeprom guard

This commit is contained in:
Andrey 2024-09-29 00:19:27 -04:00
parent c1451876db
commit 26f07f5cad
1 changed files with 3 additions and 1 deletions

View File

@ -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