Yulou Yang / Mbed 2 deprecated c_and_asm_mult

Dependencies:   mbed

Fork of c_and_asm by Chris Styles

Revision:
3:b81f1f75db93
Parent:
1:05f50fb4ac8f
--- a/mult_c.c	Tue Apr 26 01:52:16 2016 +0000
+++ b/mult_c.c	Tue Apr 26 01:52:57 2016 +0000
@@ -3,16 +3,7 @@
 #endif
 
     int mult_c(int c, int d) {
-        /*
-        int result=0;
-        for (int i=0;i<d;i++){
-        result+=c;
-        
-            }
-        return result;
-
-        */
-        return c*d;
+       return c*d;
     }
 
 #ifdef __cplusplus