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: SDFileSystem_Warning_Fixed
Diff: SD_PlayerSkeleton.cpp
- Revision:
- 15:4ac0f4715454
- Parent:
- 14:284093250bab
- Child:
- 16:299cc1052baa
--- a/SD_PlayerSkeleton.cpp Mon Mar 20 02:34:49 2017 +0000
+++ b/SD_PlayerSkeleton.cpp Mon Mar 20 14:06:47 2017 +0000
@@ -41,9 +41,9 @@
loopCount = SD_Open();
else // PAUSE 後の PLAY ではない場合
{
- if (WaitTouched() == 0) SelectFile();
+ if (0 == WaitTouched()) SelectFile();
loopCount = SD_Open();
- WaitTouched(1); // PLAY がタッチされるまで待つ
+ while (1 != WaitTouched()) {} // PLAY がタッチされるまで待つ
}
Display(); // アプリ固有の表示処理(仮想関数)
@@ -89,7 +89,7 @@
if (playOk || stopOk) break;
DoIfHandled();
- // アプリ固有の1フレーム分の信号処理(純粋仮想関数)
+ // アプリ固有の1ブロック分に対する信号処理(純粋仮想関数)
SignalProcessing();
}
mySai_.StopOut();