higher precision scriptTable2
This commit is contained in:
parent
05d744b8f2
commit
ae94f76163
|
@ -17,4 +17,7 @@
|
|||
#define IGN_RPM_COUNT 8
|
||||
#define IGN_LOAD_COUNT 8
|
||||
|
||||
#define TABLE_2_RPM_SIZE 2
|
||||
#define TABLE_2_LOAD_SIZE 2
|
||||
|
||||
#define FUEL_RPM_COUNT 8
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#include "script_impl.h"
|
||||
|
||||
static fsio8_Map3D_f32t scriptTable1;
|
||||
static fsio8_Map3D_u8t scriptTable2;
|
||||
static script2_Map3D_f32t scriptTable2;
|
||||
static fsio8_Map3D_u8t scriptTable3;
|
||||
static script4_Map3D_u8t scriptTable4;
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include <rusefi/expected.h>
|
||||
|
||||
typedef Map3D<SCRIPT_TABLE_8, SCRIPT_TABLE_8, float, int16_t, int16_t> fsio8_Map3D_f32t;
|
||||
typedef Map3D<TABLE_2_RPM_SIZE, TABLE_2_LOAD_SIZE, float, int16_t, int16_t> script2_Map3D_f32t;
|
||||
typedef Map3D<SCRIPT_TABLE_8, SCRIPT_TABLE_8, uint8_t, int16_t, int16_t> fsio8_Map3D_u8t;
|
||||
typedef Map3D<TABLE_4_RPM, SCRIPT_TABLE_8, uint8_t, int16_t, int16_t> script4_Map3D_u8t;
|
||||
|
||||
|
|
|
@ -219,6 +219,8 @@ struct_no_prefix engine_configuration_s
|
|||
#define PERCENT_TRIM_BYTE_PACKING_DIV 0.02
|
||||
|
||||
#define SCRIPT_TABLE_8 8
|
||||
#define TABLE_2_RPM_SIZE 8
|
||||
#define TABLE_2_LOAD_SIZE 8
|
||||
|
||||
#define SCRIPT_CURVE_8 8
|
||||
#define SCRIPT_CURVE_16 16
|
||||
|
@ -1824,9 +1826,9 @@ float[SCRIPT_TABLE_8 x SCRIPT_TABLE_8] scriptTable1;;"value", 1, 0, -100000, 100
|
|||
int16_t[SCRIPT_TABLE_8] scriptTable1LoadBins;;"L", 1, 0, -32000, 32000, 0
|
||||
int16_t[SCRIPT_TABLE_8] scriptTable1RpmBins;;"RPM", 1, 0, -32000, 32000, 0
|
||||
|
||||
uint8_t[SCRIPT_TABLE_8 x SCRIPT_TABLE_8] scriptTable2;;"value", 1, 0, 0, 255, 0
|
||||
int16_t[SCRIPT_TABLE_8] scriptTable2LoadBins;;"L", 1, 0, -32000, 32000, 0
|
||||
int16_t[SCRIPT_TABLE_8] scriptTable2RpmBins;;"RPM", 1, 0, -32000, 32000, 0
|
||||
float[TABLE_2_LOAD_SIZE x TABLE_2_RPM_SIZE] scriptTable2;;"value", 1, 0, -100000, 100000, 2
|
||||
int16_t[TABLE_2_LOAD_SIZE] scriptTable2LoadBins;;"L", 1, 0, -32000, 32000, 0
|
||||
int16_t[TABLE_2_RPM_SIZE] scriptTable2RpmBins;;"RPM", 1, 0, -32000, 32000, 0
|
||||
|
||||
uint8_t[SCRIPT_TABLE_8 x SCRIPT_TABLE_8] scriptTable3;;"value", 1, 0, 0, 255, 0
|
||||
int16_t[SCRIPT_TABLE_8] scriptTable3LoadBins;;"L", 1, 0, -32000, 32000, 0
|
||||
|
|
Loading…
Reference in New Issue