Page 1 of 1


PostPosted: Thu May 03, 2007 10:57 am
by phil
I removed OSEi() from my code and OSDelay still works. Can you advise if interrupts are enabled anywhere else in salvo code because I'm exlicitly setting GIE and GIEH to 0 in my code.


Target is PIC18F252


Re: OSTimer

PostPosted: Thu May 03, 2007 11:30 am
by aek
In the Salvo v3 port to the PIC using PICC/PICC-18, interrupt are globally disabled, then re-enabled in all of Salvo's critical sections.

To suppress this you need to do a source-code build and redefine the interrupt-controlling macros in portpicc.h.