MSPGCC group:

What is the proper way to conditionally wake in an ISR?  
When I use the _BIC_SR_IRQ() function there is a warning issued that says:

Warning: concatenation of string literals with __FUNCTION__ is deprecated

It works fine, but why is the warning generated?


Thanks,
-Paul


======== 

(code example I am typing in by hand - hopefully I will not make a mistake)

interrupt (TIMERA0_VECTOR) ISR_timerA(void) {
if (wakeup_flag_set_by_another_isr)
   _BIC_SR_IRQ(SCG1|SCG0|CPUOFF);
}

Reply via email to