Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


a bug in the comment of the vListInsert

Posted by ares.qi on June 22, 2005
there is a comment to vListInsert() at line 226 in list.h

* Insert a list item into a list. The item will be inserted into the list in
* a position determined by its item value (__descending__ item value order).

but i read the source of vListInsert() , i found this list is not sorted by descending item value order but ascending item value order . (free to correct me) I mean the bigger ones are after the less ones. For example , this list may be 1 2 3 4 5 , but not 5 4 3 2 1.

RE: a bug in the comment of the vListInsert

Posted by Richard on June 22, 2005
Thanks again - you are having a productive day. I have changed the wording in the comment to say ascending.

[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS v10.2.0 is available for immediate download. MIT licensed, and including RISC-V and ARMv8-M (Cortex-M33) demos.

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Cadence Tensilica Cortes

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers





STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner