only:extracting magic constant

This commit is contained in:
rusefillc 2024-06-08 21:48:31 -04:00
parent c85113e80c
commit dda8a3ed6b
2 changed files with 3 additions and 1 deletions

View File

@ -187,6 +187,8 @@ struct_no_prefix engine_configuration_s
#define DWELL_CURVE_SIZE 8
#define DEFAULT_RPM_AXIS_HIGH_VALUE 7000
#define CRANKING_CURVE_SIZE 8
#define CRANKING_ENRICH_COUNT 6

View File

@ -197,5 +197,5 @@ void setRpmBin(kType array[], int size, float idleRpm, float topRpm) {
*/
template<typename TValue, int TSize>
void setRpmTableBin(TValue (&array)[TSize]) {
setRpmBin(array, TSize, 800, 7000);
setRpmBin(array, TSize, 800, DEFAULT_RPM_AXIS_HIGH_VALUE);
}