Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: RTOS-errstr mbed-rtos mbed
Diff: main.cpp
- 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__);