Update to allow use with the cooperative scheduler.
diff --git a/Demo/Common/Minimal/AltBlock.c b/Demo/Common/Minimal/AltBlock.c
index f5d5955..3990ec7 100644
--- a/Demo/Common/Minimal/AltBlock.c
+++ b/Demo/Common/Minimal/AltBlock.c
@@ -157,6 +157,12 @@
}
}
+
+ #if configUSE_PREEMPTION == 0
+ taskYIELD();
+ #endif
+
+
/*********************************************************************
Test 2
@@ -208,6 +214,10 @@
}
}
+ #if configUSE_PREEMPTION == 0
+ taskYIELD();
+ #endif
+
/*********************************************************************
Test 3
@@ -283,6 +293,9 @@
vTaskDelay( bktSHORT_WAIT );
xRunIndicator = 0;
+ #if configUSE_PREEMPTION == 0
+ taskYIELD();
+ #endif
/*********************************************************************
Test 4