Lab4 RTOS
Fork of mbed-rtos by
Revision 95:eaf7d8c78694, committed 2015-10-22
- Comitter:
- doctorgrue
- Date:
- Thu Oct 22 20:30:42 2015 +0000
- Parent:
- 94:d7bd06319118
- Commit message:
- Removed error heading
Changed in this revision
| rtos/Queue.h | Show annotated file Show diff for this revision Revisions of this file |
| rtos/RtosTimer.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/rtos/Queue.h Mon Sep 28 20:15:35 2015 +0100
+++ b/rtos/Queue.h Thu Oct 22 20:30:42 2015 +0000
@@ -26,7 +26,7 @@
#include <string.h>
#include "cmsis_os.h"
-#include "mbed_error.h"
+//#include "mbed_error.h"
namespace rtos {
@@ -47,9 +47,9 @@
_queue_def.queue_sz = queue_sz;
#endif
_queue_id = osMessageCreate(&_queue_def, NULL);
- if (_queue_id == NULL) {
- error("Error initialising the queue object\n");
- }
+ // if (_queue_id == NULL) {
+ // error("Error initialising the queue object\n");
+ // }
}
/** Put a message in a Queue.
--- a/rtos/RtosTimer.cpp Mon Sep 28 20:15:35 2015 +0100
+++ b/rtos/RtosTimer.cpp Thu Oct 22 20:30:42 2015 +0000
@@ -24,7 +24,7 @@
#include <string.h>
#include "cmsis_os.h"
-#include "mbed_error.h"
+//#include "mbed_error.h"
namespace rtos {
