mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-05 21:59:45 +00:00
stm32-f4discovery-cc256x: fix buffer swapping in modplayer
This commit is contained in:
parent
dad8eff978
commit
139f0ea75c
@ -46,7 +46,7 @@ void mod_player(void){
|
||||
__asm__("wfe");
|
||||
}
|
||||
hxcmod_fillbuffer(&mod_context, (unsigned short *) &audio_samples1[0], NUM_SAMPLES, NULL);
|
||||
while (active_buffer == 0){
|
||||
while (active_buffer == 1){
|
||||
__asm__("wfe");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user