mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-23 14:24:18 -04:00
specific directory for screens and logs (#971)
* Changed to LOGS directory, creating if not existing. Adjusted to upper case. * Changed to SCREENSHOTS directory, creating if not existing
This commit is contained in:
parent
8cae998146
commit
bc1ad5598c
10 changed files with 35 additions and 12 deletions
|
@ -133,12 +133,13 @@ SondeView::SondeView(NavigationView& nav) {
|
|||
999); //set a dummy heading out of range to draw a cross...probably not ideal?
|
||||
};
|
||||
|
||||
std::string folder = "LOGS";
|
||||
make_new_directory(folder);
|
||||
logger = std::make_unique<SondeLogger>();
|
||||
if (logger)
|
||||
logger->append(u"sonde.txt");
|
||||
logger->append(u"LOGS/SONDE.TXT");
|
||||
|
||||
// initialize audio:
|
||||
|
||||
field_volume.set_value((receiver_model.headphone_volume() - audio::headphone::volume_range().max).decibel() + 99);
|
||||
|
||||
field_volume.on_change = [this](int32_t v) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue