From 8ae038eef5aa3e4ecd8930d8947870f243e559fe Mon Sep 17 00:00:00 2001 From: Jasem Mutlaq Date: Thu, 16 May 2024 22:01:54 +0300 Subject: [PATCH] Set focuser default baud rate to 115200 --- drivers/focuser/ieaffocus.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/focuser/ieaffocus.cpp b/drivers/focuser/ieaffocus.cpp index 6ad31b445c..86dd19dc44 100644 --- a/drivers/focuser/ieaffocus.cpp +++ b/drivers/focuser/ieaffocus.cpp @@ -29,6 +29,7 @@ #include #include #include +#include #define iEAFFOCUS_TIMEOUT 4 #define TEMPERATURE_THRESHOLD 0.1 @@ -59,6 +60,7 @@ bool iEAFFocus::initProperties() INDI::Focuser::initProperties(); setDefaultPollingPeriod(1500); + serialConnection->setDefaultBaudRate(Connection::Serial::B_115200); TemperatureNP[0].fill("TEMPERATURE", "Celsius", "%2.2f", 0., 50., 0., 50.); TemperatureNP.fill(getDeviceName(), "FOCUS_TEMPERATURE", "Temperature", MAIN_CONTROL_TAB, IP_RO, 0, IPS_IDLE);