Skip to content

Commit 757ec6d

Browse files
Change name to isOpen
1 parent b5bffa5 commit 757ec6d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

example/CustomPanTilt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ void cr::pantilt::CustomPanTilt::closePanTilt()
5656

5757

5858

59-
bool cr::pantilt::CustomPanTilt::isPanTiltInitialized()
59+
bool cr::pantilt::CustomPanTilt::isPanTiltOpen()
6060
{
6161
return m_params.isInitialized;
6262
}

example/CustomPanTilt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class CustomPanTilt : public PanTilt
5555
* @brief Get pan-tilt controller is opened status.
5656
* @return TRUE if the pan-tilt controller is open or FALSE if not.
5757
*/
58-
bool isPanTiltInitialized() override;
58+
bool isPanTiltOpen() override;
5959

6060
/**
6161
* @brief Get pan-tilt controller is connected status.

src/PanTilt.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,10 @@ class PanTilt
199199
virtual void closePanTilt() = 0;
200200

201201
/**
202-
* @brief Get pan-tilt controller is opened status.
202+
* @brief Get pan-tilt controller is open status.
203203
* @return TRUE if the pan-tilt controller is open or FALSE if not.
204204
*/
205-
virtual bool isPanTiltInitialized() = 0;
205+
virtual bool isPanTiltOpen() = 0;
206206

207207
/**
208208
* @brief Get pan-tilt controller is connected status.

0 commit comments

Comments
 (0)