Change the way the critical sections are handled within interrupts so the critical sections can be nested.
Change the way the critical sections are handled within interrupts so the critical sections can be nested.

git-svn-id: 43aea61533866f88f23079d48f4f5dc2d5288937@361 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Psykar/kubos,kubostech/KubOS,Psykar/kubos,Psykar/kubos,Psykar/kubos,Psykar/kubos,Psykar/kubos,kubostech/KubOS,Psykar/kubos