Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

Compile questions - Routines within ISR

$
0
0

Hi All,

 

I'm probably getting these due to my inexperience with C, but here goes...

Im getting the following remarks and errors during compilation.

 

"../main.c", line 321: remark #1538-D: (ULP 10.1) ISR i2c_send_complete calls function incr. Recommend moving function call away from ISR, or inlining the function, or using pragmas

 

I use this function to increment a pointer, and it is used mutiple times within the ISR so I dont really want to put it inline as it will take up a whole lot more code space...is this a code breaker? If it is, how do I use pragma?

 

Im getting this with other functions too, I just used this one as an example.

 

 


Viewing all articles
Browse latest Browse all 2077

Trending Articles