| ??? 12/21/07 13:54 Read: times |
#148586 - OH YES Responding to: ???'s previous message |
1) there is no save of the registers
2) if the same interrupt happens while you are in the mess you are screwed 3) you are making an ISR interruptable, that should be (and easily is) handled by IP 4) code like this is totally non-debuggable. 5) if ADC's ISR must be long for some reason the 'reason' is the problem. Anyhow with your 'extension' that David did not have it becomes a nigthtmare rather than a total failure. ANY 'invention' that reduces the debuggability or maintainability or readabilty of your code is by definition wrong. Erik |



