Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix spelling (detected by lintian) #1807

Merged
merged 1 commit into from
Jan 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@
6bdb76b8 2021-10-20 Jasem Mutlaq Set max possible position to 1317500. Hopefully fixes #1545
8b0174c3 2021-10-20 Jasem Mutlaq Fix switch rule
b218950c 2021-10-15 Jim usbfs_memory_mb_fix: exit with TRUE even if the memory is already set (#1546)
7ec08c40 2021-10-14 Jasem Mutlaq Increase maximum possible postion to 1500000. Fixes #1545
7ec08c40 2021-10-14 Jasem Mutlaq Increase maximum possible position to 1500000. Fixes #1545
2ea67102 2021-10-08 james-lan OnStep: Update to 1.12 (#1543)
a4c0a0c5 2021-10-07 nouspiro Force using hour angle when mount is slewing (#1539)
463dc8a4 2021-10-07 Michael Correction the amplification values to spec. (#1541)
Expand Down
2 changes: 1 addition & 1 deletion drivers/auxiliary/arduino_st4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ bool ArduinoST4::Handshake()
{
if (isSimulation())
{
LOGF_INFO("Connected successfuly to simulated %s.", getDeviceName());
LOGF_INFO("Connected successfully to simulated %s.", getDeviceName());
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion drivers/auxiliary/astrometrydriver.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* 2. Listen to uploaded BLOBs as emitted from a CCD driver. Set the CCD driver name to listen to in Options.
*
* The solver settings should be set before running the solver in order to ensure correct and timely response from astrometry.net
* It is assumed that astrometry.net is property set-up in the same machine the driver is running along with the appropiate index files.
* It is assumed that astrometry.net is property set-up in the same machine the driver is running along with the appropriate index files.
*
* If the solver is successfull, the driver sets the solver results which include:
* + Pixel Scale (arcsec/pixel).
Expand Down
2 changes: 1 addition & 1 deletion drivers/auxiliary/flip_flat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ bool FlipFlat::Handshake()
{
if (isSimulation())
{
LOGF_INFO("Connected successfuly to simulated %s. Retrieving startup data...", getDeviceName());
LOGF_INFO("Connected successfully to simulated %s. Retrieving startup data...", getDeviceName());

SetTimer(getCurrentPollingPeriod());

Expand Down
2 changes: 1 addition & 1 deletion drivers/auxiliary/pegasus_upb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1757,7 +1757,7 @@ bool PegasusUPB::setupParams()
uint32_t value = std::stol(res);
if (value == UINT16_MAX)
{
LOGF_WARN("Invalid maximum speed detected: %u. Please set maximum speed appropiate for your motor focus type (0-900)",
LOGF_WARN("Invalid maximum speed detected: %u. Please set maximum speed appropriate for your motor focus type (0-900)",
value);
FocuserSettingsNP.s = IPS_ALERT;
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/focuser/myfocuserpro2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ bool MyFocuserPro2::readBacklashInEnabled()
}
else
{
LOGF_ERROR("Unknown Repsonse: focuser Backlash IN enabled (%s)", res);
LOGF_ERROR("Unknown Response: focuser Backlash IN enabled (%s)", res);
}
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/focuser/primalucacommandset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ bool Communication::sendRequest(const json &command, json *response)
{
if (strstr(read_buf, "Error:"))
{
LOGF_ERROR("Requred %s failed: %s", command.dump().c_str(), read_buf);
LOGF_ERROR("Required %s failed: %s", command.dump().c_str(), read_buf);
return false;
}
*response = json::parse(read_buf)["res"];
Expand Down
2 changes: 1 addition & 1 deletion drivers/telescope/lx200_16.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ bool LX200_16::ReadScopeStatus()
if (getLX200Az(PortFD, &currentAZ) < 0 || getLX200Alt(PortFD, &currentALT) < 0)
{
HorizontalCoordsNP.s = IPS_ALERT;
IDSetNumber(&HorizontalCoordsNP, "Error geting Alt/Az.");
IDSetNumber(&HorizontalCoordsNP, "Error getting Alt/Az.");
return false;
}

Expand Down
4 changes: 2 additions & 2 deletions drivers/telescope/lx200_OnStep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2421,7 +2421,7 @@ bool LX200_OnStep::ReadScopeStatus()
if ((capabilities | TELESCOPE_HAS_PEC) != capabilities)
{
LOG_INFO("Telescope detected having PEC, setting that capability");
LOGF_DEBUG("capabilites = %x", capabilities);
LOGF_DEBUG("capabilities = %x", capabilities);
capabilities |= TELESCOPE_HAS_PEC;
SetTelescopeCapability(capabilities, 10 );
LX200_OnStep::updateProperties();
Expand Down Expand Up @@ -2478,7 +2478,7 @@ bool LX200_OnStep::ReadScopeStatus()
if ((capabilities | TELESCOPE_HAS_PIER_SIDE) != capabilities)
{
LOG_INFO("Telescope detected having Pier Side, adding that capability (many messages duplicated)");
LOGF_DEBUG("capabilites = %x", capabilities);
LOGF_DEBUG("capabilities = %x", capabilities);
capabilities |= TELESCOPE_HAS_PIER_SIDE;
SetTelescopeCapability(capabilities, 10 );
LX200_OnStep::updateProperties();
Expand Down
2 changes: 1 addition & 1 deletion drivers/telescope/lx200_TeenAstro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ bool LX200_TeenAstro::SetCurrentPark()
}
SetAxis1Park(currentRA);
SetAxis2Park(currentDEC);
LOG_WARN("Park Value set to current postion");
LOG_WARN("Park Value set to current position");
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion drivers/telescope/skywatcherAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const char *SkywatcherAPI::mountTypeToString(uint8_t type)
case AZGTI:
return "AZ-GTi";
default:
return "Uknown";
return "Unknown";
}
}

Expand Down
2 changes: 1 addition & 1 deletion drivers/telescope/temmadriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ bool TemmaMount::updateLocation(double latitude, double longitude, double elevat

// We were NOT initialized, so, in case there is not park position set
// Sync to the position of bar vertical, telescope pointed at pole
LOGF_DEBUG("Temma is initilized. Latitude: %.2f LST: %.2f", latitude, lst);
LOGF_DEBUG("Temma is initialized. Latitude: %.2f LST: %.2f", latitude, lst);
SetAxis1Park(lst);

LOGF_INFO("Syncing to default home position %4.2f %4.2f", GetAxis1Park(), GetAxis2Park());
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial_five/raindetector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

/** \file raindetector.cpp
\brief Construct a rain detector device that the user may operate to raise a rain alert. This rain light property defined by this driver is \e snooped by the Dome driver
then takes whatever appropiate action to protect the dome.
then takes whatever appropriate action to protect the dome.
\author Jasem Mutlaq
*/

Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial_five/raindetector.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

/** \file raindetector.h
* \brief Construct a rain detector device that the user may operate to raise a rain alert. This rain light property defined by this driver is \e snooped by the Dome driver
* then takes whatever appropiate action to protect the dome.
* then takes whatever appropriate action to protect the dome.
* \author Jasem Mutlaq
*
* \example raindetector.h
Expand Down
2 changes: 1 addition & 1 deletion libs/indibase/connectionplugins/ttybase.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class TTYBase

/** \brief read buffer from terminal
\param fd file descriptor
\param buf pointer to store data. Must be initilized and big enough to hold data.
\param buf pointer to store data. Must be initialized and big enough to hold data.
\param nbytes number of bytes to read.
\param timeout number of seconds to wait for terminal before a timeout error is issued.
\param nbytes_read the number of bytes read.
Expand Down
2 changes: 1 addition & 1 deletion libs/indibase/indiccd.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ class CCD : public DefaultDevice, GuiderInterface
}

/**
* @brief SetCCDCapability Set the CCD capabilities. Al fields must be initilized.
* @brief SetCCDCapability Set the CCD capabilities. Al fields must be initialized.
* @param cap pointer to CCDCapability struct.
*/
void SetCCDCapability(uint32_t cap);
Expand Down
2 changes: 1 addition & 1 deletion libs/indibase/indicorrelator.h
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ class Correlator : public SensorInterface
}

/**
* @brief SetCorrelatorCapability Set the Correlator capabilities. Al fields must be initilized.
* @brief SetCorrelatorCapability Set the Correlator capabilities. Al fields must be initialized.
* @param cap pointer to CorrelatorCapability struct.
*/
void SetCorrelatorCapability(uint32_t cap);
Expand Down
2 changes: 1 addition & 1 deletion libs/indibase/indidetector.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class Detector : public SensorInterface
}

/**
* @brief SetDetectorCapability Set the Detector capabilities. Al fields must be initilized.
* @brief SetDetectorCapability Set the Detector capabilities. Al fields must be initialized.
* @param cap pointer to DetectorCapability struct.
*/
void SetDetectorCapability(uint32_t cap);
Expand Down
4 changes: 2 additions & 2 deletions libs/indibase/indidome.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class Dome : public DefaultDevice
DOME_CAN_ABS_MOVE = 1 << 1, /*!< Can the dome move to an absolute azimuth position? */
DOME_CAN_REL_MOVE = 1 << 2, /*!< Can the dome move to a relative position a number of degrees away from current position? Positive degress is Clockwise direction. Negative Degrees is counter clock wise direction */
DOME_CAN_PARK = 1 << 3, /*!< Can the dome park and unpark itself? */
DOME_CAN_SYNC = 1 << 4, /*!< Can the dome sync to arbitrary postion? */
DOME_CAN_SYNC = 1 << 4, /*!< Can the dome sync to arbitrary position? */
DOME_HAS_SHUTTER = 1 << 5, /*!< Does the dome has a shutter than can be opened and closed electronically? */
DOME_HAS_VARIABLE_SPEED = 1 << 6, /*!< Can the dome move in different configurable speeds? */
DOME_HAS_BACKLASH = 1 << 7 /*!< Can the dome compensate for backlash? */
Expand Down Expand Up @@ -221,7 +221,7 @@ class Dome : public DefaultDevice
}

/**
* @return True if dome has absolute postion encoders.
* @return True if dome has absolute position encoders.
*/
bool CanAbsMove()
{
Expand Down
2 changes: 1 addition & 1 deletion libs/indibase/indireceiver.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class Receiver : public virtual SensorInterface
}

/**
* @brief SetReceiverCapability Set the Receiver capabilities. Al fields must be initilized.
* @brief SetReceiverCapability Set the Receiver capabilities. Al fields must be initialized.
* @param cap pointer to ReceiverCapability struct.
*/
void SetReceiverCapability(uint32_t cap);
Expand Down
2 changes: 1 addition & 1 deletion libs/indibase/indisensorinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ class SensorInterface : public DefaultDevice
}

/**
* @brief SetCapability Set the Sensor capabilities. Al fields must be initilized.
* @brief SetCapability Set the Sensor capabilities. Al fields must be initialized.
* @param cap pointer to SensorCapability struct.
*/
void SetCapability(uint32_t cap);
Expand Down
2 changes: 1 addition & 1 deletion libs/indibase/indispectrograph.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class Spectrograph : public virtual SensorInterface
}

/**
* @brief SetSpectrographCapability Set the Spectrograph capabilities. Al fields must be initilized.
* @brief SetSpectrographCapability Set the Spectrograph capabilities. Al fields must be initialized.
* @param cap pointer to SpectrographCapability struct.
*/
void SetSpectrographCapability(uint32_t cap);
Expand Down
2 changes: 1 addition & 1 deletion libs/indibase/inditelescope.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
* changes the custom tracking rates while the mount is tracking, it it sent to the child class via SetTrackRate(...) function.
* The base class will reject any track rates that switch from positive to negative (reverse) tracking rates as the mount must be stopped before
* such change takes place.
* + TrackState: Engages or Disengages tracking. When engaging tracking, the child class should take the necessary steps to set the appropiate TrackMode and TrackRate
* + TrackState: Engages or Disengages tracking. When engaging tracking, the child class should take the necessary steps to set the appropriate TrackMode and TrackRate
* properties before or after engaging tracking as governed by the mount protocol.
*
* Ideally, the child class should avoid changing property states directly within a function call from the base class as such state changes take place in the base class
Expand Down
2 changes: 1 addition & 1 deletion libs/indibase/stream/streammanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ StreamManagerPrivate::FrameInfo StreamManagerPrivate::updateSourceFrameInfo()
);
}

// If stream frame was not yet initilized, let's do that now
// If stream frame was not yet initialized, let's do that now
if (dstFrameInfo.pixels() == 0)
{
//if (dynamic_cast<INDI::CCD*>(currentDevice)->PrimaryCCD.getNAxis() == 2)
Expand Down
2 changes: 1 addition & 1 deletion libs/indibase/webcam/v4l2_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1110,7 +1110,7 @@ int V4L2_Base::check_device(char * errmsg)
cropcap.defrect.left, cropcap.defrect.width, cropcap.defrect.height);
DEBUGFDEVICE(deviceName, INDI::Logger::DBG_DEBUG, " Crop capabilities: pixelaspect = %d / %d",
cropcap.pixelaspect.numerator, cropcap.pixelaspect.denominator);
DEBUGDEVICE(deviceName, INDI::Logger::DBG_DEBUG, "Explicitely resetting crop area to default...");
DEBUGDEVICE(deviceName, INDI::Logger::DBG_DEBUG, "Explicitly resetting crop area to default...");
crop.c.top = cropcap.defrect.top;
crop.c.left = cropcap.defrect.left;
crop.c.width = cropcap.defrect.width;
Expand Down
10 changes: 5 additions & 5 deletions libs/indicore/indicom.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ extern "C" {

/** \brief read buffer from terminal
* \param fd file descriptor
* \param buf pointer to store data. Must be initilized and big enough to hold data.
* \param buf pointer to store data. Must be initialized and big enough to hold data.
* \param nbytes number of bytes to read.
* \param timeout number of seconds to wait for terminal before a timeout error is issued.
* \param nbytes_read the number of bytes read.
Expand All @@ -181,7 +181,7 @@ int tty_read(int fd, char *buf, int nbytes, int timeout, int *nbytes_read);

/** \brief read buffer from terminal with a delimiter
* \param fd file descriptor
* \param buf pointer to store data. Must be initilized and big enough to hold data.
* \param buf pointer to store data. Must be initialized and big enough to hold data.
* \param stop_char if the function encounters \e stop_char then it stops reading and returns the buffer.
* \param timeout_seconds number of seconds to wait for terminal before a timeout error is issued.
*
Expand All @@ -196,7 +196,7 @@ int tty_read_expanded(int fd, char *buf, int nbytes, long timeout_seconds, long

/** \brief read buffer from terminal with a delimiter
* \param fd file descriptor
* \param buf pointer to store data. Must be initilized and big enough to hold data.
* \param buf pointer to store data. Must be initialized and big enough to hold data.
* \param stop_char if the function encounters \e stop_char then it stops reading and returns the buffer.
* \param timeout number of seconds to wait for terminal before a timeout error is issued.
* \param nbytes_read the number of bytes read.
Expand All @@ -206,7 +206,7 @@ int tty_read_section(int fd, char *buf, char stop_char, int timeout, int *nbytes

/** \brief read buffer from terminal with a delimiter
* \param fd file descriptor
* \param buf pointer to store data. Must be initilized and big enough to hold data.
* \param buf pointer to store data. Must be initialized and big enough to hold data.
* \param stop_char if the function encounters \e stop_char then it stops reading and returns the buffer.
* \param nsize size of buf. If stop character is not encountered before nsize, the function aborts.
* \param timeout_seconds number of seconds to wait for terminal before a timeout error is issued.
Expand All @@ -223,7 +223,7 @@ int tty_read_section_expanded(int fd, char *buf, char stop_char, long timeout_se

/** \brief read buffer from terminal with a delimiter
* \param fd file descriptor
* \param buf pointer to store data. Must be initilized and big enough to hold data.
* \param buf pointer to store data. Must be initialized and big enough to hold data.
* \param stop_char if the function encounters \e stop_char then it stops reading and returns the buffer.
* \param nsize size of buf. If stop character is not encountered before nsize, the function aborts.
* \param timeout number of seconds to wait for terminal before a timeout error is issued.
Expand Down
4 changes: 2 additions & 2 deletions tools/evalINDI.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,9 @@ static void usage()
fprintf(stderr, " -o : print operands as they change\n");
fprintf(stderr, " -p p : alternate port, default is %d\n", INDIPORT);
fprintf(stderr, " -t t : max secs to wait, 0 is forever, default is %d\n", TIMEOUT);
fprintf(stderr, " -v : verbose (cummulative)\n");
fprintf(stderr, " -v : verbose (cumulative)\n");
fprintf(stderr, " -w : wait for expression to evaluate as true\n");
fprintf(stderr, "[exp] is an arith expression built from the following operators and functons:\n");
fprintf(stderr, "[exp] is an arith expression built from the following operators and functions:\n");
fprintf(stderr, " ! + - * / && || > >= == != < <=\n");
fprintf(stderr, " pi sin(rad) cos(rad) tan(rad) asin(x) acos(x) atan(x) atan2(y,x) abs(x)\n");
fprintf(stderr, " degrad(deg) raddeg(rad) floor(x) log(x) log10(x) exp(x) sqrt(x) pow(x,exp)\n");
Expand Down