rtos signal test program

Dependencies:   RTOS-errstr mbed-rtos mbed

Revision:
1:79cd2642890c
Parent:
0:8cc0dbb478dc
Child:
3:1b9c07fe623b
--- a/main.cpp	Sun Jul 23 02:27:10 2017 +0000
+++ b/main.cpp	Sun Jul 23 02:36:45 2017 +0000
@@ -7,8 +7,8 @@
 #include "RTOSerrstr.h"
 
 typedef struct {
-    uint32_t wait_signal;
-    uint32_t signal_flag;
+    int32_t wait_signal;
+    int32_t signal_flag;
 } sig_table_t;
 
 Serial pc(SERIAL_TX, SERIAL_RX);
@@ -57,7 +57,7 @@
 
 int main()
 {
-    uint32_t status;
+    int32_t status;
     
     pc.baud(115200);
     pc.printf("signal test[%s %s]\n", __DATE__, __TIME__);