Fork of Smoothie to port to mbed non-LPC targets.

Dependencies:   mbed

Fork of Smoothie by Stéphane Cachat

Revision:
3:f151d08d335c
Parent:
2:1df0b61d3b5a
--- a/libs/MemoryPool.cpp	Fri Feb 28 18:52:52 2014 -0800
+++ b/libs/MemoryPool.cpp	Sun Mar 02 06:33:08 2014 +0000
@@ -1,6 +1,5 @@
 #include "MemoryPool.h"
 
-#include <mri.h>
 #include <cstdio>
 
 #define offset(x) (((uint8_t*) x) - ((uint8_t*) this->base))
@@ -94,7 +93,7 @@
                 {
                     // captain, we have a problem!
                     // this can only happen if something has corrupted our heap, since we should simply fail to find a free block if it's full
-                    __debugbreak();
+                    //__debugbreak();
                 }
             }
 
@@ -130,7 +129,7 @@
         {
             // captain, we have a problem!
             // this can only happen if something has corrupted our heap, since we should simply fail to find a free block if it's full
-            __debugbreak();
+            //__debugbreak();
         }
 
         p->next += q->next;
@@ -154,7 +153,7 @@
                 {
                     // captain, we have a problem!
                     // this can only happen if something has corrupted our heap, since we should simply fail to find a free block if it's full
-                    __debugbreak();
+                    //__debugbreak();
                 }
             }