mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-10-16 11:52:53 +00:00
App settings revamp (#1139)
* WIP AppSetting overhaul * WIP migrating apps to new settings. * remove settings, rename tuned => target * formatting * Minor fixes * Fix hang on app load * run formatter * PR comment fixes * Load modulation into receiver model in app_settings * Run formatter --------- Co-authored-by: kallanreed <kallanreed@outlook.com>
This commit is contained in:
@@ -33,7 +33,7 @@ Optional<File::Error> LogFile::write_entry(const rtc::RTC& datetime, const std::
|
||||
|
||||
Optional<File::Error> LogFile::write_line(const std::string& message) {
|
||||
auto error = file.write_line(message);
|
||||
if (!error.is_valid()) {
|
||||
if (!error) {
|
||||
file.sync();
|
||||
}
|
||||
return error;
|
||||
|
Reference in New Issue
Block a user