Skip to content

Commit 37e8e71

Browse files
author
Konrad Iturbe
committed
rtos
1 parent 7fef7be commit 37e8e71

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/ESP32_FreeRTOS/ESP32_FreeRTOS.ino

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
#include <GoProControl.h>
22
#include "Constants.h"
33

4-
uint8_t gopro_mac_address[6] = {1,2,3,4,5,6};
54
// Choose your camera
65
//GoProControl gp(GOPRO_SSID, GOPRO_PASS, CAMERA); // use this if you have a HERO3 or older
7-
GoProControl gp(GOPRO_SSID, GOPRO_PASS, CAMERA, gopro_mac_address, BOARD_NAME); // use this if you have a HERO4 or newer
6+
//GoProControl gp(GOPRO_SSID, GOPRO_PASS, CAMERA, gopro_mac_address, BOARD_NAME);
87

98
char in = 0;
109

@@ -123,5 +122,5 @@ void loop()
123122

124123
void keep_alive(void *parameter)
125124
{
126-
gp.shoot();
125+
gp.keepAlive();
127126
}

0 commit comments

Comments
 (0)