Skip to content

Commit 830abab

Browse files
committed
Remove more unused fields
1 parent 9ad2f1f commit 830abab

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

drivers/focuser/primalucacommandset.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ bool Esatto::getBacklash(uint32_t &steps)
421421
/******************************************************************************************************
422422
* Arco
423423
*******************************************************************************************************/
424-
Arco::Arco(const std::string &name, int port) : m_DeviceName(name), m_PortFD(port)
424+
Arco::Arco(const std::string &name, int port)
425425
{
426426
m_Communication.reset(new Communication(name, port));
427427
}

drivers/focuser/primalucacommandset.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,6 @@ class Arco
203203

204204
public:
205205
explicit Arco(const std::string &name, int port);
206-
const char *getDeviceName()
207-
{
208-
return m_DeviceName.c_str();
209-
}
210206

211207
// Is it detected and enabled?
212208
bool isEnabled();
@@ -229,8 +225,6 @@ class Arco
229225
bool isReversed();
230226

231227
private:
232-
std::string m_DeviceName;
233-
int m_PortFD {-1};
234228
std::unique_ptr<Communication> m_Communication;
235229
};
236230

0 commit comments

Comments
 (0)