File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
portable/ThirdParty/GCC/Posix Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -366,12 +366,15 @@ uint64_t xExpectedTicks;
366
366
367
367
/* Tick Increment, accounting for any lost signals or drift in
368
368
* the timer. */
369
- xExpectedTicks = (prvGetTimeNs () - prvStartTimeNs )
370
- / (portTICK_RATE_MICROSECONDS * 1000 );
371
- do {
369
+ /*
370
+ * Comment code to adjust timing according to full demo requirements
371
+ * xExpectedTicks = (prvGetTimeNs() - prvStartTimeNs)
372
+ * / (portTICK_RATE_MICROSECONDS * 1000);
373
+ * do { */
372
374
xTaskIncrementTick ();
373
- prvTickCount ++ ;
374
- } while (prvTickCount < xExpectedTicks );
375
+ /* prvTickCount++;
376
+ * } while (prvTickCount < xExpectedTicks);
377
+ */
375
378
376
379
#if ( configUSE_PREEMPTION == 1 )
377
380
/* Select Next Task. */
You can’t perform that action at this time.
0 commit comments