View Single Post
Old 07-05-2009, 12:50 PM   #1922 (permalink)
dlaing
EcoModding Lurker
 
Join Date: Aug 2008
Location: Calgary, AB
Posts: 21

Corolla bandit - '05 Toyota Corolla CE
Thanks: 1
Thanked 1 Time in 1 Post
Paul,

Not disabling the interrupts in this case is probably fine. Copying an integer is probably an atomic operation (meaning it's not a divisible operation, i.e. it can't be interrupted.) And it doesn't matter if it interrupts between the copies.

I can't wait to hear how the new code controls the car.

David
  Reply With Quote