MusicPlayer: set default volume in worker thread to 1.0f and fix issue with leaking memory (#1224)
This commit is contained in:
@@ -23,6 +23,7 @@ static void music_player_cli(Cli* cli, string_t args, void* context) {
|
||||
}
|
||||
|
||||
printf("Press CTRL+C to stop\r\n");
|
||||
music_player_worker_set_volume(music_player_worker, 1.0f);
|
||||
music_player_worker_start(music_player_worker);
|
||||
while(!cli_cmd_interrupt_received(cli)) {
|
||||
osDelay(50);
|
||||
|
||||
Reference in New Issue
Block a user