The MPU-6000 MPU-6050 Register Map and Descriptions Rev 4.2 doesn't match the code (which appears to work, at least on a GY-521 with an IC labeled as MPU6050), but looks more like the MPU-6500 version rev 2.1. So I'm confused as to the valid documentation.
Could this be clarified?