mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-08-21 23:19:02 +00:00
Restoring jammer and RDS functionalities, please wait...
Started work on frequency manager and numbers station simulator
This commit is contained in:
@@ -25,8 +25,6 @@
|
||||
#include "ui_soundboard.hpp"
|
||||
|
||||
#include "ch.h"
|
||||
#include "file.hpp"
|
||||
|
||||
#include "lfsr_random.hpp"
|
||||
#include "ui_alphanum.hpp"
|
||||
#include "portapack.hpp"
|
||||
@@ -258,6 +256,11 @@ SoundBoardView::SoundBoardView(
|
||||
}
|
||||
}
|
||||
|
||||
if (!c) {
|
||||
nav.display_modal("No files", "No files in /wav/ directory");
|
||||
nav.pop();
|
||||
}
|
||||
|
||||
max_sound = c;
|
||||
max_page = max_sound / 21; // 21 buttons per page
|
||||
|
||||
|
||||
Reference in New Issue
Block a user