mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-10-15 17:09:52 +00: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:
@@ -367,7 +367,11 @@ void SystemStatusView::on_bias_tee() {
|
||||
}*/
|
||||
|
||||
void SystemStatusView::on_camera() {
|
||||
auto path = next_filename_stem_matching_pattern(u"SCR_????");
|
||||
|
||||
std::string folder = "SCREENSHOTS";
|
||||
make_new_directory(folder);
|
||||
|
||||
auto path = next_filename_stem_matching_pattern(u"SCREENSHOTS/SCR_????");
|
||||
if( path.empty() ) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user