Skip to content

Commit

Permalink
add control network to test app
Browse files Browse the repository at this point in the history
  • Loading branch information
lhoward committed Dec 18, 2023
1 parent dbca92c commit 75477ee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Examples/OCADevice/DeviceApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ public enum DeviceApp {
}
}

// NB: we still need to add objects to the root block because they must have containing block
let controlNetwork = try await SwiftOCADevice.OcaControlNetwork(
role: "OCA Control Network",
deviceDelegate: device
)

await withThrowingTaskGroup(of: Void.self) { taskGroup in
taskGroup.addTask {
print("Starting OCP.1 stream endpoint \(streamEndpoint)...")
Expand Down

0 comments on commit 75477ee

Please sign in to comment.