Fixed wrong array usage (calledLevels in elevatorControl.c) and all connected functions