mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 17:38:35 -07:00
Format
This commit is contained in:
@@ -5,19 +5,18 @@
|
||||
|
||||
void hex_viewer_play_input_sound(void* context) {
|
||||
HexViewer* app = context;
|
||||
if (app->speaker != 1) {
|
||||
if(app->speaker != 1) {
|
||||
return;
|
||||
}
|
||||
float volume = 1.0f;
|
||||
if(furi_hal_speaker_is_mine() || furi_hal_speaker_acquire(30)) {
|
||||
furi_hal_speaker_start(NOTE_INPUT, volume);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void hex_viewer_stop_all_sound(void* context) {
|
||||
HexViewer* app = context;
|
||||
if (app->speaker != 1) {
|
||||
if(app->speaker != 1) {
|
||||
return;
|
||||
}
|
||||
if(furi_hal_speaker_is_mine()) {
|
||||
|
||||
Reference in New Issue
Block a user