CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Typo in loader_pcd.c

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
pfournier



Joined: 30 Sep 2003
Posts: 89

View user's profile Send private message

Typo in loader_pcd.c
PostPosted: Thu Dec 10, 2015 9:19 am     Reply with quote

In file (in drivers) loader_pcd.c (since 5.045 at least to 5.051)

line 98:
Code:

     while ( (rbuffer[buffidx].buffer[rBuffer[buffidx].idx++] != 0x0D) && (rbuffer[buffidx].idx <= BUFFER_LEN_LOD) );


rbuffer has the "B" in lower case in two places, it should be rBuffer
_________________
-Pete
RF_Developer



Joined: 07 Feb 2011
Posts: 839

View user's profile Send private message

PostPosted: Thu Dec 10, 2015 9:37 am     Reply with quote

While most Cs are case-sensitive, in non-ANSI mode (i.e. the default) CCS C is not, and that's a mode that's not claiming to be "standard". It's not good practice to use different cases for identifiers, but at least for CCS C, it doesn't matter. So, is it an "error"? Personally I'd say bad form, and a bad example, but technically no.

In any case, we can't fix it: we're not CCS.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group