Skip to content

Commit

Permalink
Add Sendable to BluetoothHostControllerError
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Nov 12, 2024
1 parent 18af6d2 commit c4228a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/BluetoothHCI/BluetoothHostController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

import Foundation
import Bluetooth

/// Bluetooth HCI controller.
public protocol BluetoothHostControllerInterface: AnyObject {
Expand Down Expand Up @@ -44,7 +45,7 @@ public protocol BluetoothHostControllerInterface: AnyObject {

/// Bluetooth HCI errors
@frozen
public enum BluetoothHostControllerError: Error {
public enum BluetoothHostControllerError: Error, Sendable {

/// The specified adapter could not be found.
case adapterNotFound
Expand Down

0 comments on commit c4228a3

Please sign in to comment.