Lab4 RTOS
Fork of mbed-rtos by
Diff: rtos/Queue.h
- Revision:
- 95:eaf7d8c78694
- Parent:
- 40:bd07334df5b1
diff -r d7bd06319118 -r eaf7d8c78694 rtos/Queue.h --- 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.