auto-sync

This commit is contained in:
rusEfi 2016-12-01 23:01:36 -05:00
parent 5b265a67ef
commit 6c3c01881b
3 changed files with 2 additions and 8 deletions

View File

@ -70,15 +70,10 @@ public:
* Lock-free multithreading: two instances, while one is being modified another one is used read-only
*/
FuelSchedule injectionEvents0;
FuelSchedule injectionEvents1;
/**
* this points at an instance we use to run the engine
*/
FuelSchedule *injectionEvents;
/**
* this variable is pointing at the instance which is being modified
*/
FuelSchedule *processing;
#endif
OutputSignalPair fuelActuators[INJECTION_PIN_COUNT];

View File

@ -1010,7 +1010,6 @@ void resetConfigurationExt(Logging * logger, engine_type_e engineType DECLARE_EN
engine_configuration2_s::engine_configuration2_s() {
injectionEvents = &injectionEvents0;
processing = &injectionEvents1;
}
void applyNonPersistentConfiguration(Logging * logger DECLARE_ENGINE_PARAMETER_S) {

View File

@ -281,9 +281,9 @@ void firmwareError(obd_code_e code, const char *errorMsg, ...) {
}
}
static char UNUSED_RAM_SIZE[1100];
static char UNUSED_RAM_SIZE[1200];
static char UNUSED_CCM_SIZE[8500] CCM_OPTIONAL;
static char UNUSED_CCM_SIZE[26500] CCM_OPTIONAL;
int getRusEfiVersion(void) {
if (UNUSED_RAM_SIZE[0] != 0)