Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
knro committed Sep 21, 2023
1 parent cf6f4f0 commit 24ec64f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion drivers/telescope/planewave_mount.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "planewave_mount.h"

#include "indicom.h"
#include "inditimer.h"
#include "httplib.h"
#include "connectionplugins/connectiontcp.h"
#include <libnova/sidereal_time.h>
Expand Down Expand Up @@ -139,6 +138,8 @@ bool PlaneWave::getStatus()
/////////////////////////////////////////////////////////////////////////////
bool PlaneWave::Sync(double ra, double dec)
{
INDI_UNUSED(ra);
INDI_UNUSED(dec);
return false;
}

Expand Down Expand Up @@ -258,6 +259,7 @@ bool PlaneWave::Abort()
/////////////////////////////////////////////////////////////////////////////
bool PlaneWave::MoveNS(INDI_DIR_NS dir, TelescopeMotionCommand command)
{
INDI_UNUSED(dir);
if (TrackState == SCOPE_PARKED)
{
LOG_ERROR("Please unpark the mount before issuing any motion commands.");
Expand All @@ -280,6 +282,7 @@ bool PlaneWave::MoveNS(INDI_DIR_NS dir, TelescopeMotionCommand command)
/////////////////////////////////////////////////////////////////////////////
bool PlaneWave::MoveWE(INDI_DIR_WE dir, TelescopeMotionCommand command)
{
INDI_UNUSED(dir);
if (TrackState == SCOPE_PARKED)
{
LOG_ERROR("Please unpark the mount before issuing any motion commands.");
Expand All @@ -301,6 +304,9 @@ bool PlaneWave::MoveWE(INDI_DIR_WE dir, TelescopeMotionCommand command)
/////////////////////////////////////////////////////////////////////////////
bool PlaneWave::updateLocation(double latitude, double longitude, double elevation)
{
INDI_UNUSED(latitude);
INDI_UNUSED(longitude);
INDI_UNUSED(elevation);
return false;
}

Expand Down Expand Up @@ -338,6 +344,8 @@ bool PlaneWave::SetDefaultPark()
/////////////////////////////////////////////////////////////////////////////
bool PlaneWave::SetTrackRate(double raRate, double deRate)
{
INDI_UNUSED(raRate);
INDI_UNUSED(deRate);
return false;
}

Expand Down

0 comments on commit 24ec64f

Please sign in to comment.