Skip to content

Commit

Permalink
Revert "remove getClassIdentification() from SPI"
Browse files Browse the repository at this point in the history
This reverts commit a9d27bf.
  • Loading branch information
lhoward committed May 19, 2024
1 parent 81a2b79 commit 24e34f3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Sources/SwiftOCA/OCP.1/Ocp1Connection+Objects.swift
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,8 @@ public extension Ocp1Connection {
}
}

internal func getClassIdentification(objectNumber: OcaONo) async throws
-> OcaClassIdentification
{
@_spi(SwiftOCAPrivate)
func getClassIdentification(objectNumber: OcaONo) async throws -> OcaClassIdentification {
guard objectNumber != OcaInvalidONo else { throw Ocp1Error.status(.badONo) }
let proxy = OcaRoot(objectNumber: objectNumber)
proxy.connectionDelegate = self
Expand Down

0 comments on commit 24e34f3

Please sign in to comment.