File tree Expand file tree Collapse file tree
Packages/InfoCollector/Sources/InfoCollector/Plugins Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,9 +112,6 @@ struct KeyboardTypeCollectorPlugin: InfoCollectorPlugin {
112112 entry = IOIteratorNext ( iter)
113113 }
114114
115- if idx == 0 {
116- print ( " No keyboards found in IORegistry. " )
117- }
118115 if lines. isEmpty {
119116 callback ( . success( " " ) )
120117 } else {
Original file line number Diff line number Diff line change @@ -37,5 +37,5 @@ func osStatusToString(_ status: OSStatus) -> String {
3737func numberToHex< T: FixedWidthInteger > ( _ number: T , withPrefix prefix: Bool = true ) -> String {
3838 let width = MemoryLayout < T > . size * 2
3939 let formatString = prefix ? " %#0 \( width + 2 ) X " : " %0 \( width) X "
40- return String ( format: formatString, number. littleEndian as! CVarArg )
40+ return String ( format: formatString, number as! CVarArg )
4141}
You can’t perform that action at this time.
0 commit comments