MPU-6050 errors reading data

I am very new to this so please be patient. I am trying to update firmware on a Martinez Gimbal controller using the Arduino Uno board. I think I have followed all steps in the instructions, but each time I try to update I get the following error message: exit status 1 'initMPU' was not declared in this scope.. Can anyone help me to resolve this issue?