ELEC2645 (2019/20) / Mbed 2 deprecated el18loc_final

Dependencies:   mbed

Revision:
31:cfdb014ff086
Parent:
30:08cc4ec58d07
--- 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