mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-07 19:01:54 -07:00
Update music_player_worker.c
This commit is contained in:
@@ -79,7 +79,8 @@ static int32_t music_player_worker_thread_callback(void* context) {
|
|||||||
furi_hal_speaker_stop();
|
furi_hal_speaker_stop();
|
||||||
furi_hal_speaker_start(frequency, volume);
|
furi_hal_speaker_start(frequency, volume);
|
||||||
while(instance->should_work && furi_get_tick() < next_tick) {
|
while(instance->should_work && furi_get_tick() < next_tick) {
|
||||||
volume *= 0.9945679;
|
// volume *= 0.9945679;
|
||||||
|
volume *= 1.0000000;
|
||||||
furi_hal_speaker_set_volume(volume);
|
furi_hal_speaker_set_volume(volume);
|
||||||
furi_delay_ms(2);
|
furi_delay_ms(2);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user