Skip to content

Commit

Permalink
automatically create sound Sounds folder if it doesnt exist
Browse files Browse the repository at this point in the history
  • Loading branch information
jmamma committed Mar 20, 2019
1 parent be7e254 commit df9eaea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions avr/cores/megacommand/MCL/SoundBrowserPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
#include "SoundBrowserPage.h"
#include "MDSound.h"

void SoundBrowserPage::setup() {
SD.mkdir("/Sounds/MD", true);
FileBrowserPage::setup();
}
void SoundBrowserPage::init() {

DEBUG_PRINT_FN();
Expand Down

0 comments on commit df9eaea

Please sign in to comment.