This commit is contained in:
Ken Van Hoeylandt 2026-01-05 22:53:20 +01:00
parent 5abf8b40d4
commit 623f543a2c
6 changed files with 8 additions and 7 deletions

View File

@ -47,6 +47,7 @@ bool init(gpio_num_t pin, uint32_t frequencyHz, ledc_timer_t timer, ledc_channel
if (ledc_channel_config(&ledc_channel) != ESP_OK) {
LOGGER.error("Channel config failed");
return false;
}
isBacklightInitialized = true;

View File

@ -235,7 +235,7 @@ static void registerInstalledAppsFromSdCards() {
}
static void registerAndStartSecondaryServices() {
LOGGER.info("Registering and starting system services");
LOGGER.info("Registering and starting secondary system services");
addService(service::loader::manifest);
addService(service::gui::manifest);
addService(service::statusbar::manifest);
@ -250,7 +250,7 @@ static void registerAndStartSecondaryServices() {
}
static void registerAndStartPrimaryServices() {
LOGGER.info("Registering and starting system services");
LOGGER.info("Registering and starting primary system services");
addService(service::gps::manifest);
if (hal::hasDevice(hal::Device::Type::SdCard)) {
addService(service::sdcard::manifest);

View File

@ -116,7 +116,7 @@ void View::viewFile(const std::string& path, const std::string& filename) {
notes::start(processed_filepath.substr(1));
}
} else {
LOGGER.warn("opening files of this type is not supported");
LOGGER.warn("Opening files of this type is not supported");
}
onNavigate();

View File

@ -235,7 +235,7 @@ void I2cScannerApp::onScanTimer() {
}
for (uint8_t address = 0; address < 128; ++address) {
if (hal::i2c::masterHasDeviceAtAddress(port, address, 10 / portTICK_PERIOD_MS)) {
if (hal::i2c::masterHasDeviceAtAddress(safe_port, address, 10 / portTICK_PERIOD_MS)) {
logger.info("Found device at address 0x{:02X}", address);
if (!shouldStopScanTimer()) {
addAddressToList(address);

View File

@ -200,7 +200,7 @@ void View::init(AppContext& app, lv_obj_t* parent) {
}
std::string password;
if (optPasswordParameter(bundle, ssid)) {
if (optPasswordParameter(bundle, password)) {
lv_textarea_set_text(password_textarea, password.c_str());
}
}

View File

@ -52,9 +52,9 @@ namespace tt {
if (!(__e)) { \
tt::Logger("Kernel").error("Check failed: {}", #__e); \
if (__m) { \
tt_crash_internal(__m); \
tt_crash(__m); \
} else { \
tt_crash_internal(""); \
tt_crash(""); \
} \
} \
} while (0)