Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed DirectSPI FastPWM
Diff: wave_player_main.cpp
- Revision:
- 13:544349ffb861
- Parent:
- 11:8dc9fa1e1bdc
- Child:
- 18:082bce602af9
diff -r 4c13a0b4fb59 -r 544349ffb861 wave_player_main.cpp
--- a/wave_player_main.cpp Fri Feb 15 03:48:26 2019 +0900
+++ b/wave_player_main.cpp Sun Feb 17 10:27:26 2019 +0900
@@ -114,6 +114,9 @@
while( send_ff() != 0xFE) {}
lwReadCount = wREAD_COUNT;
ldwSongFileSectors -= 1;
+ if(ldwSongFileSectors == 0){
+ pwm_period_timer_music_stop();
+ }
}
#if TEST_PORT_ENABLE
test_port =0;