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:
- 31:cfdb014ff086
- Parent:
- 30:08cc4ec58d07
diff -r 08cc4ec58d07 -r cfdb014ff086 Debug.h
--- a/Debug.h Tue May 26 10:17:47 2020 +0000
+++ b/Debug.h Tue May 26 14:21:36 2020 +0000
@@ -9,20 +9,6 @@
@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;
@@ -76,4 +62,18 @@
}
}
+
+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