Quality RTOS & Embedded Software

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




Loading

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 ]    [ Sitemap ]    [ ]




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

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

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