Tactility SDK and release build scripting (#122)

* Implement release scripting and SDK building process
* Fix for CYD display colors
* Various improvements and fixes
* Made build scripts more modular
This commit is contained in:
Ken Van Hoeylandt
2024-12-14 21:50:02 +01:00
committed by GitHub
parent 43714b2355
commit a18221db08
22 changed files with 324 additions and 53 deletions
@@ -118,11 +118,13 @@ static void update_sdcard_icon(std::shared_ptr<ServiceData> data) {
// region power
static _Nullable const char* power_get_status_icon() {
const std::shared_ptr<hal::Power> power = getConfiguration()->hardware->power();
if (power == nullptr) {
auto get_power = getConfiguration()->hardware->power;
if (get_power == nullptr) {
return nullptr;
}
auto power = get_power();
hal::Power::MetricData charge_level;
if (!power->getMetric(hal::Power::MetricType::CHARGE_LEVEL, charge_level)) {
return nullptr;