diff --git a/drivers/ccd/guide_simulator.cpp b/drivers/ccd/guide_simulator.cpp index c140143f65..70fc6e7dcd 100644 --- a/drivers/ccd/guide_simulator.cpp +++ b/drivers/ccd/guide_simulator.cpp @@ -50,7 +50,7 @@ bool GuideSim::SetupParms() int nbuf; SetCCDParams(SimulatorSettingsNP[SIM_XRES].getValue(), SimulatorSettingsNP[SIM_YRES].getValue(), 16, SimulatorSettingsNP[SIM_XSIZE].getValue(), - SimulatorSettingsNP[SIM_YRES].getValue()); + SimulatorSettingsNP[SIM_YSIZE].getValue()); if (HasCooler()) {