bpietroiu/grbl — comment on commit f5c4ce9a03d2ea3f80332358492d1da305f8b1bf
File:  line 0
By chamnit:

Hi! I've been looking at your code with the status reports. Interesting approach. I've been mulling over how best to do this. Have you had any issues with the position data becoming corrupt while the steppers are running? As I understand it, if the interrupt program and main program are trying to access/write the data at the same time, it can result in corrupted data. This should be the case for anything larger than a byte. Since a int32 has 4 bytes, it's possible for it to be written or read halfway through a change.