Skip to content

Commit 6d2e3c0

Browse files
committed
removed unused code
1 parent 652089f commit 6d2e3c0

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/GoProControl.cpp

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,6 @@ GoProControl::GoProControl(const String ssid, const String pwd, const uint8_t ca
2929
_ssid = ssid;
3030
_pwd = pwd;
3131
_camera = camera;
32-
33-
if (_camera == HERO3) // HERO3, HERO3+, HERO3BLACK, HERO3BLACK+
34-
{
35-
// URL scheme: /PARAM1/PARAM2?t=PASSWORD&p=%OPTION
36-
// example: /camera/SH?t=password&p=%01
37-
// as PARAM1 sometimes is needed camera for other function bacpac
38-
}
39-
else if (_camera >= HERO4) // HERO4, 5, 6, 7:
40-
{
41-
// URL scheme: /gp/gpControl/....
42-
// Basic functions (record, mode, tag, poweroff): /gp/gpControl/command/PARAM?p=OPTION
43-
// example change mode to video: http://10.5.5.9/gp/gpControl/command/mode?p=0
44-
// Settings: /gp/gpControl/setting/option
45-
// example change video resolution to 1080p: http://10.5.5.9/gp/gpControl/setting/2/9)
46-
}
4732
}
4833

4934
GoProControl::GoProControl(const String ssid, const String pwd, const uint8_t camera, const uint8_t mac_address[], const String board_name)

0 commit comments

Comments
 (0)