Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Strcmp() problem stepping through AVR Studio

2005-04-13 by Brian Dean

Woops - looks like I told you the order wrong for strcmp_P(), should
be:

	strcmp_P(gcBuffer, PSTR("GPGLL"));

Sorry about that.

Also, I wasn't really suggusting this as a fix to the problem you are
seeing, though there was an off chance that it could help if you were
running out of RAM.  Strange things happing when your stack grows down
into your variable space.

It was more the case that it can save you lots of RAM if you have many
strcmp()'s using constant strings.

-Brian

On Tue, Apr 12, 2005 at 09:30:18PM -0400, wbounce wrote:
> DomainKey-Signature: 
> To: <AVR-Chat@yahoogroups.com>
> From: "wbounce" <wbounce@safeplace.net>
> Date: Tue, 12 Apr 2005 21:30:18 -0400
> Subject: RE: [AVR-Chat] Strcmp() problem stepping through AVR Studio
> 
> Thanks Brain for the suggestion. I did that and AVR Studio is still
> messed up.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.