Init
This commit is contained in:
parent
0e583b2d43
commit
b980d6bae1
|
|
@ -497,7 +497,7 @@ void TaskSerialUSB1_Init(tTaskSerial *env,
|
|||
|
||||
static _Noreturn void Serial_USB1_Thread(tTaskSerial *env) {
|
||||
|
||||
int16_t temperature = 200;
|
||||
int16_t temperature = 250;
|
||||
|
||||
setResistanceInit(env, "Duct_FL_Upper", temperature, duct_lookup_table_3000, size_duct_lookup_table_3000,
|
||||
SENSOR_TYPE_A,
|
||||
|
|
@ -546,6 +546,27 @@ static _Noreturn void Serial_USB1_Thread(tTaskSerial *env) {
|
|||
SENSOR_ADR_9,
|
||||
SENSOR_ADR_10);
|
||||
|
||||
|
||||
setResistanceInit(env, "Incar_FL", temperature, incar_lookup_table_20000, size_incar_lookup_table_20000,
|
||||
SENSOR_TYPE_D,
|
||||
SENSOR_ADR_1,
|
||||
SENSOR_ADR_2);
|
||||
|
||||
setResistanceInit(env, "Incar_RL", temperature, incar_lookup_table_20000, size_incar_lookup_table_20000,
|
||||
SENSOR_TYPE_D,
|
||||
SENSOR_ADR_5,
|
||||
SENSOR_ADR_6);
|
||||
|
||||
setResistanceInit(env, "Incar_FR", temperature, incar_lookup_table_20000, size_incar_lookup_table_20000,
|
||||
SENSOR_TYPE_D,
|
||||
SENSOR_ADR_3,
|
||||
SENSOR_ADR_4);
|
||||
|
||||
setResistanceInit(env, "Incar_RR", temperature, incar_lookup_table_20000, size_incar_lookup_table_20000,
|
||||
SENSOR_TYPE_D,
|
||||
SENSOR_ADR_7,
|
||||
SENSOR_ADR_8);
|
||||
|
||||
for (;;) {
|
||||
|
||||
SerialCommand_Scheduler(env);
|
||||
|
|
|
|||
Loading…
Reference in New Issue