> Oleg Skidan wrote:
>
> Hi !
>
> I have developed a small operating system for MSP430.
Hi Oleg,
for(int i=0;i<TIMERS_COUNT;i++)
It is my understanding that ;++i is more efficient.
This would apply many places in sos.
I had to modify to your makefile to make it unix compatible, then got:
bash$ make
msp430-gcc -c -O -Wall -Wstrict-prototypes -mmcu=msp430x149
-Wa,-ahlms=obj/Kernel.lst -I. Kernel.c -o obj/Kernel.o
Kernel.c: In function `__Leave':
Kernel.c:81: `for' loop initial declaration used outside C99 mode
Kernel.c: In function `KCreateTaskExt':
Kernel.c:125: `for' loop initial declaration used outside C99 mode
Kernel.c: In function `CreateTaskExt':
Kernel.c:154: warning: control reaches end of non-void function
make: *** [Kernel.o] Error 1
bash$
Garst