Skip to content

Commit

Permalink
Fix COHN demo
Browse files Browse the repository at this point in the history
  • Loading branch information
tcamise-gpsw committed Sep 13, 2024
1 parent 6e589be commit bdb8503
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from rich.console import Console

from open_gopro import WirelessGoPro
from open_gopro import WirelessGoPro, Params
from open_gopro.logger import setup_logging
from open_gopro.util import add_cli_args_and_parse

Expand All @@ -26,8 +26,6 @@ async def main(args: argparse.Namespace) -> None:
try:
# Start with Wifi Disabled (i.e. don't allow camera in AP mode).
async with WirelessGoPro(args.identifier, enable_wifi=False) as gopro:
await gopro.ble_command.cohn_clear_certificate()

if await gopro.is_cohn_provisioned:
console.print("[yellow]COHN is already provisioned")
else:
Expand Down

0 comments on commit bdb8503

Please sign in to comment.