Good idea. I'll try that. Thanks.<br>
<br>
<br>
-----Original Message-----<br>
From: Johan Wallström <johan@edab.nu><br>
Sent: Tue, 6 May 2008 9:12 am<br>
Subject: Re: [Icc-avr] StackCheck vs fp?<br>
<br>
<div id=AOLMsgPart_0_141c01f9-25d2-42ad-86a4-387434d1f58a style="FONT-SIZE: 12px; MARGIN: 0px; COLOR: #000; FONT-FAMILY: Tahoma, Verdana, Arial, Sans-Serif; BACKGROUND-COLOR: #fff">Maybe you can try to remove the calls to putc in _StackOverflowed and just copy the code from putc to StackOverflowed? Since the call itself will use the stack which might be corrupted.. <br>
<br>
<A href="mailto:BobGardner@aol.com">BobGardner@aol.com</A> skrev: <br>
> Hello to iccavr users. Especially the ones that have used > _StackCheck() and cprintf with a %7.1f format. I think I get a blowup > full of hieroglyphics every time I use StackCheck in a program that > does an ftoa. My _StackOverflowed(char n) function: INTR_OFF(); if(n) > putc('H'); else putc('S); while(1); It should print H or S and hang... > not spit out crap in a loop. Anyone confirm this? <br>
> <br>
> <br>
> <br>
> ------------------------------------------------------------------------ <br>
> Wondering what's for Dinner Tonight? Get new twists on family > favorites at AOL Food > <<A href="http://food.aol.com/dinner-tonight?NCID=aolfod00030000000001" target=_blank>http://food.aol.com/dinner-tonight?NCID=aolfod00030000000001</A>>. <br>
> ------------------------------------------------------------------------ <br>
> <br>
> _______________________________________________ <br>
> Icc-avr mailing list <br>
> <A href="mailto:Icc-avr@imagecraft.com">Icc-avr@imagecraft.com</A> <br>
> <A href="http://dragonsgate.net/mailman/listinfo/icc-avr" target=_blank>http://dragonsgate.net/mailman/listinfo/icc-avr</A> <br>
> <br>
_______________________________________________ <br>
Icc-avr mailing list <br>
<A href="mailto:Icc-avr@imagecraft.com">Icc-avr@imagecraft.com</A> <br>
<A href="http://dragonsgate.net/mailman/listinfo/icc-avr" target=_blank>http://dragonsgate.net/mailman/listinfo/icc-avr</A> <br>
</div>
<!-- end of AOLMsgPart_0_141c01f9-25d2-42ad-86a4-387434d1f58a --><div id='u8CA7DB72BB9962C-1608-A4D' class='aol_ad_footer'><FONT style="color: black; font: normal 10pt ARIAL, SAN-SERIF;"><HR style="MARGIN-TOP: 10px">Plan your next roadtrip with <A title="http://www.mapquest.com/?ncid=mpqmap00030000000004" href="http://www.mapquest.com/?ncid=mpqmap00030000000004" target="_blank">MapQuest.com</A>: America's #1 Mapping Site.</FONT> </div>