move some stuff in to CCM

This commit is contained in:
Matthew Kennedy 2024-01-06 18:52:37 -08:00
parent 6865c5a521
commit 7b46529dee
4 changed files with 5 additions and 5 deletions

View File

@ -51,8 +51,8 @@ static int averagedMapBufIdx = 0;
/**
* here we have averaging start and averaging end points for each cylinder
*/
static scheduling_s startTimers[MAX_CYLINDER_COUNT][2];
static scheduling_s endTimers[MAX_CYLINDER_COUNT][2];
static CCM_OPTIONAL scheduling_s startTimers[MAX_CYLINDER_COUNT][2];
static CCM_OPTIONAL scheduling_s endTimers[MAX_CYLINDER_COUNT][2];
static void endAveraging(MapAverager* arg);

View File

@ -20,7 +20,7 @@
#endif /* EFI_ELECTRONIC_THROTTLE_BODY */
// todo: clean this mess, this should become 'static'/private
EnginePins enginePins;
CCM_OPTIONAL EnginePins enginePins;
static const char* const sparkNames[] = { "Coil 1", "Coil 2", "Coil 3", "Coil 4", "Coil 5", "Coil 6", "Coil 7", "Coil 8",
"Coil 9", "Coil 10", "Coil 11", "Coil 12"};

View File

@ -431,7 +431,7 @@ static void configureInputs() {
setAdcChannelOverrides();
}
static SlowAdcController slowAdcController;
static CCM_OPTIONAL SlowAdcController slowAdcController;
void initAdcInputs() {
efiPrintf("initAdcInputs()");

View File

@ -26,7 +26,7 @@ static CCM_OPTIONAL FunctionalSensor fuelTempSensor(SensorType::FuelTemperature,
static CCM_OPTIONAL FunctionalSensor ambientTempSensor(SensorType::AmbientTemperature, MS2NT(10));
static CCM_OPTIONAL FunctionalSensor compressorDischargeTemp(SensorType::CompressorDischargeTemperature, MS2NT(10));
static FuncPair fclt, fiat, faux1, faux2, foil, ffuel, fambient, fcdt;
static CCM_OPTIONAL FuncPair fclt, fiat, faux1, faux2, foil, ffuel, fambient, fcdt;
static void validateThermistorConfig(const char *msg, thermistor_conf_s& cfg) {
if (cfg.tempC_1 >= cfg.tempC_2 ||