diff --git a/Modules/Sensors/bridge.h b/Modules/Sensors/bridge.h index 3a076b9b..a3181925 100644 --- a/Modules/Sensors/bridge.h +++ b/Modules/Sensors/bridge.h @@ -34,7 +34,6 @@ typedef enum AppleSiliconSensorType: NSUInteger { IOHIDEventSystemClientRef IOHIDEventSystemClientCreate(CFAllocatorRef allocator); int IOHIDEventSystemClientSetMatching(IOHIDEventSystemClientRef client, CFDictionaryRef match); IOHIDEventRef IOHIDServiceClientCopyEvent(IOHIDServiceClientRef, int64_t , int32_t, int64_t); -CFStringRef IOHIDServiceClientCopyProperty(IOHIDServiceClientRef service, CFStringRef property); IOHIDFloat IOHIDEventGetFloatValue(IOHIDEventRef event, int32_t field); NSDictionary*AppleSiliconSensors(int page, int usage, int32_t type); diff --git a/Modules/Sensors/settings.swift b/Modules/Sensors/settings.swift index 5d0c64d6..b53188fc 100644 --- a/Modules/Sensors/settings.swift +++ b/Modules/Sensors/settings.swift @@ -66,7 +66,7 @@ internal class Settings: NSStackView, Settings_v { selected: "\(self.updateIntervalValue) sec" )) - types.reversed().forEach { (typ: SensorType) in + types.forEach { (typ: SensorType) in let header = NSStackView() header.heightAnchor.constraint(equalToConstant: Constants.Settings.row).isActive = true header.spacing = 0