Skip to content
This repository was archived by the owner on Mar 2, 2025. It is now read-only.

Commit 0249e07

Browse files
author
Konrad Iturbe
committed
Add correct keepalive for Hero9
1 parent d5b5866 commit 0249e07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

goprocam/GoProCamera.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def __str__(self):
7575

7676
def KeepAlive(self):
7777
"""Sends keep alive packet"""
78-
if self._camera_model_name == "HERO8 Black":
78+
if self._camera_model_name == "HERO8 Black" or self._camera_model_name == "HERO9 Black":
7979
keep_alive_payload = "_GPHD_:1:0:2:0.000000\n".encode()
8080
else:
8181
keep_alive_payload = "_GPHD_:0:0:2:0.000000\n".encode()

0 commit comments

Comments
 (0)