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
Diff: Debug.h
- Revision:
- 30:08cc4ec58d07
- Parent:
- 29:207111ffd6e6
- Child:
- 31:cfdb014ff086
diff -r 207111ffd6e6 -r 08cc4ec58d07 Debug.h
--- a/Debug.h Mon May 25 20:00:31 2020 +0000
+++ b/Debug.h Tue May 26 10:17:47 2020 +0000
@@ -9,6 +9,20 @@
@date May 2020
*/
+
+void run_LUTs_debug ()
+{
+ int masterpass=0;
+ if(run_sin_debug())masterpass++;
+ if(run_tri_debug())masterpass++;
+ if(run_pulse_debug())masterpass++;
+ if(masterpass==3) {
+ printf("DEBUG PASSED\n");
+ } else {
+ printf("DEBUG FAIL master tests passed = %d\n",masterpass);
+ }
+}
+
bool run_sin_debug()
{
int passed=0;
@@ -62,18 +76,4 @@
}
}
-void run_LUTs_debug ()
-{
- int masterpass=0;
- if(run_sin_debug())masterpass++;
- if(run_tri_debug())masterpass++;
- if(run_pulse_debug())masterpass++;
- if(masterpass==3) {
- printf("DEBUG PASSED\n");
- } else {
- printf("DEBUG FAIL master tests passed = %d\n",masterpass);
- }
-}
-
-
#endif
\ No newline at end of file