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 support@ccsinfo.com

interrupts

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







interrupts
PostPosted: Sat Aug 18, 2007 7:41 am     Reply with quote

Interrupts disabled during call to prevent re-entrancy: (disp_comm2)

can anyone provide further detail on the above warning message?

I assume it means that any interrupt that could call disp_comm2 is disabled while in disp_comm2. The thing is I don't have any interrupt routines that call disp_comm2. So, I'm confused by this.

Any help would be greatly appreciated
Ken Johnson



Joined: 23 Mar 2006
Posts: 197
Location: Lewisburg, WV

View user's profile Send private message

PostPosted: Sat Aug 18, 2007 8:05 am     Reply with quote

disp_comm2 probably calls something that is also called from you main loop. Maybe even a library routine. General rule - keep your isr short, doing no more than necessary - set a flag and do the rest in the main loop.

Hope this helps,
Ken
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