Added const modifier to char* msg in calibrate()