aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--applications/threadx_demo/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/threadx_demo/main.cpp b/applications/threadx_demo/main.cpp
index dc9055b..bf65085 100644
--- a/applications/threadx_demo/main.cpp
+++ b/applications/threadx_demo/main.cpp
@@ -167,7 +167,7 @@ void *ethosu_semaphore_create(void) {
TX_SEMAPHORE *semaphore;
semaphore = new TX_SEMAPHORE;
- status = tx_semaphore_create(semaphore, nullptr, 1);
+ status = tx_semaphore_create(semaphore, nullptr, 0);
if (status != TX_SUCCESS) {
printf("Semaphore create failed, error - %d\n", status);