Hello All, My earlier questions about delays is related to the following problem. I am usin CC5X and need to call these delays from the ISR ,MAIN or other routines. I know this is not the way ISR's are used but in practice no interrupts will occur when i am in the ISR handling the things i need to do (they are blocked any way). When i try to compile the code i get the following error : /* Error volume_ctrl.c 428: Shared function 'delay_us' contains local variables or parameters (A function called from two independent call paths can not contain local variables or parameters because address sharing can not be computed in advance. The main() routine, interrupt service routines and all extern functions are defined as independent call trees or paths) */ I made a function prototype above the ISR. Any suggestions ?! grtz Simon __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.