It looks like during the accelerometer/compass updates we managed to swap the axes for pitch and roll, or perhaps upset some enums that MakeCode is using for pitch/roll so they are getting swapped values,
Filing here quickly for now but the next step should be to make a case that reproduces this in the DAL rather than just from MakeCode.
(note, this isn't likely related to the MakeCode alpha because the dal-integration derived version of v0 suffers the same issue but live MakeCode v0 doesn't)
Based on https://github.com/Microsoft/pxt-microbit/issues/1075
It looks like during the accelerometer/compass updates we managed to swap the axes for pitch and roll, or perhaps upset some enums that MakeCode is using for pitch/roll so they are getting swapped values,
Filing here quickly for now but the next step should be to make a case that reproduces this in the DAL rather than just from MakeCode.
(note, this isn't likely related to the MakeCode alpha because the dal-integration derived version of v0 suffers the same issue but live MakeCode v0 doesn't)