mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-19 03:13:14 +00:00
Fixes
This commit is contained in:
parent
5abf8b40d4
commit
623f543a2c
@ -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;
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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();
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user