Quote:
Originally Posted by dcbrown
All rx/tx data fields are byte sized and therefore access to each field is atomic by default.
|
Right, but the entire data structure is not. Look at how the IFI default code works -- it treats some of the PWM outputs as temporary locations before finishing the single-joystick mixing. This works fine when the get/put is done explicitly. If you have a need to coordinate values, you have to consider the possibility that the EasyC magic communication might happen when you've started setting them but haven't completed setting them all.