Skip to content

Commit 7712e82

Browse files
committed
renamed upladImage to sendSnapshot
1 parent 5c640e5 commit 7712e82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Capabilities/CameraController.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class CameraController {
1818
public:
1919
CameraController();
2020
void onSnapshot(SnapshotCallback cb);
21-
int uploadImage(uint8_t* buffer, size_t len);
21+
int sendSnapshot(uint8_t* buffer, size_t len);
2222

2323
protected:
2424
bool handleCameraController(SinricProRequest &request);
@@ -54,7 +54,7 @@ bool CameraController<T>::handleCameraController(SinricProRequest &request) {
5454
}
5555

5656
template <typename T>
57-
int CameraController<T>::uploadImage(uint8_t* buffer, size_t len) {
57+
int CameraController<T>::sendSnapshot(uint8_t* buffer, size_t len) {
5858
T *device = static_cast<T *>(this);
5959

6060
if (!buffer) return -1;

0 commit comments

Comments
 (0)