Add auto generated location id list.
[freeems-vanilla.git] / src / FixedConfig2.c
blob7224f578de9c55700b4d6c21ceb67c680c15d29d
1 /* FreeEMS - the open source engine management system
3 Copyright 2008, 2009 Fred Cooke
5 This file is part of the FreeEMS project.
7 FreeEMS software is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
12 FreeEMS software is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with any FreeEMS software. If not, see http://www.gnu.org/licenses/
20 We ask that if you make any changes to this file you email them upstream to
21 us at admin(at)diyefi(dot)org or, even better, fork the code on github.com!
23 Thank you for choosing FreeEMS to run your engine! */
26 /** @file FixedConfig2.c
27 * @ingroup dataInitialisers
29 * @brief Second fixed config block
31 * This file contains the definition of the second fixed configuration block.
32 * The declaration can be found in the global constants header file.
34 * Please ensure that all variables added here have good default values.
36 * @author Fred Cooke
40 #include "inc/freeEMS.h"
43 /// @todo TODO divide fixedConfig2 into useful chunks
44 /// @todo TODO create engine hardware config chunk
45 /// @todo TODO create random stuff chunk
46 /// @todo TODO add the userTextField2 to the dictionary/address lookup
49 /** @copydoc fixedConfig1 */
50 const volatile fixedConfig2 fixedConfigs2 FIXEDCONF2 = {
52 roomTemperature, /* presetIAT */
53 runningTemperature, /* presetCHT */
54 halfThrottle, /* presetTPS */
55 stoichiometricLambda, /* presetEGO */
56 runningVoltage, /* presetBRV */
57 idleManifoldPressure, /* presetMAP */
58 seaLevelKPa, /* presetAAP */
59 roomTemperature, /* presetMAT */
60 stoichiometricLambda, /* presetEGO2 */
61 maxExpectedBoost, /* presetIAP */
62 idlePulseWidth, /* presetBPW */
63 idleAirFlow /* presetAF */
67 offIdleMAP, /* TPSClosedMAP */
68 nearlyWOTMAP, /* TPSOpenMAP */
69 MPX4250AMin, /* MAPMinimum */
70 MPX4250ARange, /* MAPRange */
71 MPX4100AMin, /* AAPMinimum */
72 MPX4100ARange, /* AAPRange */
73 LC1LambdaMin, /* EGOMinimum */
74 LC1LambdaRange, /* EGORange */
75 batteryVoltageMin, /* BRVMinimum */
76 batteryVoltageRange, /* BRVRange */
77 TPSDefaultMin, /* TPSMinimumADC */
78 TPSDefaultMax /* TPSMaximumADC */
82 500, /* readingTimeout */ /** Default to half a second 60rpm for a 4 cylinder @todo TODO new method of ADC sampling, Always sample ADC async, If no sync, use async ADC readings, otherwise use synced. Do this with pointer to array set at beginning of math */
85 {"Place your personal notes about whatever you like in here! Don't hesitate to tell us a story about something interesting. Do keep in mind though that when you upload your settings file to the forum this message WILL be visible to all and sundry, so don't be putting too many personal details, bank account numbers, passwords, PIN numbers, license plates, national insurance numbers, IRD numbers, social security numbers, phone numbers, email addresses, love stories and other private information in this field. In fact it is probably best if you keep the information stored here purely related to the vehicle that this system is installed on and relevant to the state of tune and configuration of settings. Lastly, please remember that this field WILL be shrinking in length from it's currently large size to something more reasonable in future. I would like to attempt to keep it at least thirty two characters long though, so writing that much is a non issue, but not more"}