Add coprocessor info in diagnostic

This commit is contained in:
romolo.manfredini@gmail.com
2012-10-01 22:57:59 +00:00
parent 0ca5c21e6b
commit 190c47e1f4
9 changed files with 17 additions and 5 deletions
+4
View File
@@ -97,6 +97,8 @@ void menuProcDebug(uint8_t event)
Current_used = 0;
sessionTimer = 0;
killEvents(event);
rtc_init();
CoTickDelay(5);
AUDIO_KEYPAD_UP();
break;
#endif
@@ -135,6 +137,8 @@ void menuProcDebug(uint8_t event)
#endif
#if defined(PCBARM)
lcd_putsLeft(1*FH, STR_COPROC);
lcd_outhex4(10*FW-3, 1*FH, (Coproc_valid << 8) + Coproc_read);
#if defined(REVB)
lcd_putsLeft(2*FH, STR_CPU_CURRENT);
putsTelemetryValue(MENU_DEBUG_COL_OFS, 2*FH, getCurrent(), UNIT_MILLIAMPS, 0);
+1
View File
@@ -342,6 +342,7 @@ const pm_char STR_BRIGHTNESS[] PROGMEM = TR_BRIGHTNESS;
const pm_char STR_CPU_TEMP[] PROGMEM = TR_CPU_TEMP;
const pm_char STR_CPU_CURRENT[] PROGMEM = TR_CPU_CURRENT;
const pm_char STR_CPU_MAH[] PROGMEM = TR_CPU_MAH;
const pm_char STR_COPROC[] PROGMEM = TR_COPROC;
const pm_char STR_TEMPWARNING[] PROGMEM = TR_TEMPWARNING;
const pm_char STR_CAPAWARNING[] PROGMEM = TR_CAPAWARNING;
const pm_char STR_FUNC[] PROGMEM = TR_FUNC;
+1
View File
@@ -423,6 +423,7 @@ extern const pm_char STR_BRIGHTNESS[];
extern const pm_char STR_CPU_TEMP[];
extern const pm_char STR_CPU_CURRENT[];
extern const pm_char STR_CPU_MAH[];
extern const pm_char STR_COPROC[];
extern const pm_char STR_CAPAWARNING[];
extern const pm_char STR_TEMPWARNING[];
extern const pm_char STR_FUNC[];
+1
View File
@@ -413,6 +413,7 @@
#define TR_CPU_TEMP "tepl. CPU\007>"
#define TR_CPU_CURRENT "Current\011>"
#define TR_CPU_MAH "Consumpt."
#define TR_COPROC "CoProc."
#define TR_CAPAWARNING "Capacity Warning"
#define TR_TEMPWARNING "Temp Warning"
#define TR_FUNC "Fun."
+1
View File
@@ -413,6 +413,7 @@
#define TR_CPU_TEMP "CPU temp.\007>"
#define TR_CPU_CURRENT "Current\011>"
#define TR_CPU_MAH "Consumpt."
#define TR_COPROC "CoProc."
#define TR_CAPAWARNING "Capacity Warning"
#define TR_TEMPWARNING "Temp Warning"
#define TR_FUNC "Func"
+1
View File
@@ -419,6 +419,7 @@
#define TR_CPU_TEMP "CPU Temp.\007>"
#define TR_CPU_CURRENT "Current\011>"
#define TR_CPU_MAH "Consumpt."
#define TR_COPROC "CoProc."
#define TR_CAPAWARNING "Capacity Warning"
#define TR_TEMPWARNING "Temp Warning"
#define TR_FUNC "Func"
+1
View File
@@ -412,6 +412,7 @@
#define TR_CPU_TEMP "Temp. CPU\007>"
#define TR_CPU_CURRENT "Courant\011>"
#define TR_CPU_MAH "Consomm."
#define TR_COPROC "CoProc."
#define TR_CAPAWARNING "Capacity Warning"
#define TR_TEMPWARNING "Alarme temp"
#define TR_FUNC "Fonc"
+6 -5
View File
@@ -411,10 +411,11 @@
#define TR_OPTREX_DISPLAY "Display Optrex"
#define TR_BRIGHTNESS "Luminosita'"
#define TR_CPU_TEMP "Temp CPU \007>"
#define TR_CPU_CURRENT "Current\011>"
#define TR_CPU_MAH "Consumpt."
#define TR_CAPAWARNING "Capacity Warning"
#define TR_TEMPWARNING "Temp Warning"
#define TR_CPU_CURRENT "Corrente\011>"
#define TR_CPU_MAH "Consumo"
#define TR_COPROC "CoProc."
#define TR_CAPAWARNING "Avviso Capacita'"
#define TR_TEMPWARNING "Avviso Temp."
#define TR_FUNC "Funz"
#define TR_V1 "V1"
#define TR_V2 "V2"
@@ -429,6 +430,6 @@
#define TR_COPY_FILE "Copia"
#define TR_RENAME_FILE "Rinomomina"
#define TR_REMOVED " rimosso"
#define TR_SD_INFO "Information"
#define TR_SD_INFO "Informazioni"
#define TR_SD_FORMAT "Format"
#define TR_NA "N/A"
+1
View File
@@ -411,6 +411,7 @@
#define TR_CPU_TEMP "CPU temp.\007>"
#define TR_CPU_CURRENT "Str\202m\013>"
#define TR_CPU_MAH "F\202rbrukn."
#define TR_COPROC "CoProc."
#define TR_CAPAWARNING "Kapacitetsvarning"
#define TR_TEMPWARNING "Tempvarning "
#define TR_FUNC "Funk"