#348 progress
This commit is contained in:
parent
1bb34bf6dd
commit
5ce35ce2d7
|
@ -33,10 +33,10 @@ typedef enum {
|
||||||
LL_BARO,
|
LL_BARO,
|
||||||
LL_KNOCK,
|
LL_KNOCK,
|
||||||
|
|
||||||
LL_BASE_FUEL,
|
LL_FUEL_BASE,
|
||||||
LL_TOTAL_FUEL,
|
LL_FUEL_TOTAL,
|
||||||
LL_CLT_FUEL_CORR,
|
LL_FUEL_CLT_CORRECTION,
|
||||||
LL_IAT_FUEL_CORR,
|
LL_FUEL_IAT_CORRECTION,
|
||||||
} lcd_line_e;
|
} lcd_line_e;
|
||||||
|
|
||||||
typedef void (*VoidCallback)(void);
|
typedef void (*VoidCallback)(void);
|
||||||
|
|
|
@ -42,12 +42,15 @@ static MenuTree tree(&ROOT);
|
||||||
*/
|
*/
|
||||||
static MenuItem miRpm(tree.root, LL_RPM);
|
static MenuItem miRpm(tree.root, LL_RPM);
|
||||||
static MenuItem miSensors(tree.root, "sensors");
|
static MenuItem miSensors(tree.root, "sensors");
|
||||||
|
static MenuItem miFuelControl(tree.root, "fuel");
|
||||||
static MenuItem miBench(tree.root, "bench test");
|
static MenuItem miBench(tree.root, "bench test");
|
||||||
static MenuItem miAbout(tree.root, "about");
|
static MenuItem miAbout(tree.root, "about");
|
||||||
|
|
||||||
static MenuItem miTriggerErrors(&miRpm, LL_TRIGGER_ERRORS);
|
static MenuItem miTriggerErrors(&miRpm, LL_TRIGGER_ERRORS);
|
||||||
static MenuItem miTriggerDuty(&miRpm, LL_TRIGGER_DUTY);
|
static MenuItem miTriggerDuty(&miRpm, LL_TRIGGER_DUTY);
|
||||||
|
|
||||||
|
static MenuItem miFuelCltCorr(&miFuelControl, LL_FUEL_CLT_CORRECTION);
|
||||||
|
|
||||||
static MenuItem miClt(&miSensors, LL_CLT_TEMPERATURE);
|
static MenuItem miClt(&miSensors, LL_CLT_TEMPERATURE);
|
||||||
static MenuItem miIat(&miSensors, LL_IAT_TEMPERATURE);
|
static MenuItem miIat(&miSensors, LL_IAT_TEMPERATURE);
|
||||||
static MenuItem miTps(&miSensors, LL_TPS);
|
static MenuItem miTps(&miSensors, LL_TPS);
|
||||||
|
@ -250,6 +253,10 @@ static void showLine(lcd_line_e line, int screenY) {
|
||||||
|
|
||||||
lcdPrintf("Throttle %s %f%%", buffer, getTPS());
|
lcdPrintf("Throttle %s %f%%", buffer, getTPS());
|
||||||
return;
|
return;
|
||||||
|
case LL_FUEL_CLT_CORRECTION:
|
||||||
|
//lcdPrintf("CLT corr %fv", getVBatt(PASS_ENGINE_PARAMETER_F));
|
||||||
|
return;
|
||||||
|
|
||||||
case LL_VBATT:
|
case LL_VBATT:
|
||||||
lcdPrintf("Battery %fv", getVBatt(PASS_ENGINE_PARAMETER_F));
|
lcdPrintf("Battery %fv", getVBatt(PASS_ENGINE_PARAMETER_F));
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -240,7 +240,7 @@ void chDbgStackOverflowPanic(Thread *otp) {
|
||||||
chDbgPanic3(panicMessage, __FILE__, __LINE__);
|
chDbgPanic3(panicMessage, __FILE__, __LINE__);
|
||||||
}
|
}
|
||||||
|
|
||||||
static char UNUSED_RAM_SIZE[25100];
|
static char UNUSED_RAM_SIZE[24100];
|
||||||
|
|
||||||
static char UNUSED_CCM_SIZE[9500] CCM_OPTIONAL;
|
static char UNUSED_CCM_SIZE[9500] CCM_OPTIONAL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue