hocclk: fixes and other stuff
This commit is contained in:
@@ -39,7 +39,7 @@ include ${TOPDIR}/lib/libultrahand/ultrahand.mk
|
||||
# version control constants
|
||||
#---------------------------------------------------------------------------------
|
||||
#TARGET_VERSION := $(shell git describe --dirty --always --tags)
|
||||
APP_VERSION := 2.2.0
|
||||
APP_VERSION := 2.2.0 # ensure to set KIP_VERSION and CUST_REV in sysmodule Makefile when updating this
|
||||
TARGET_VERSION := $(APP_VERSION)
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
|
||||
@@ -138,7 +138,7 @@ void AboutGui::listUI()
|
||||
// custRevItem = new tsl::elm::ListItem("CUST revision:");
|
||||
// this->listElement->addItem(custRevItem);
|
||||
|
||||
kipVersionItem = new tsl::elm::ListItem("Kip version:");
|
||||
kipVersionItem = new tsl::elm::ListItem("KIP version:");
|
||||
this->listElement->addItem(kipVersionItem);
|
||||
|
||||
if(!IsHoag()) {
|
||||
@@ -386,11 +386,13 @@ void AboutGui::refresh()
|
||||
eristaPLLXItem->setValue(strings[3]);
|
||||
}
|
||||
|
||||
u32 millis = context->temps[HocClkThermalSensor_AO];
|
||||
s32 millis = context->temps[HocClkThermalSensor_AO];
|
||||
if(millis > 0) {
|
||||
sprintf(strings[11], "%u.%u °C", millis / 1000U, (millis % 1000U) / 100U);
|
||||
} else {
|
||||
sprintf(strings[11], "N/A");
|
||||
} else if (millis == -125) {
|
||||
sprintf(strings[11], "Not Valid");
|
||||
} else if (millis == -126) {
|
||||
sprintf(strings[11], "Not Patched");
|
||||
}
|
||||
aotagTempItem->setValue(strings[11]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user