diff --git a/Cartfile.resolved b/Cartfile.resolved index 748d794..a60a0a3 100644 --- a/Cartfile.resolved +++ b/Cartfile.resolved @@ -1,4 +1,4 @@ -github "reitermarkus/DDC.swift" "5a65265a638313fcb39daab3b2d1c9fd16a99263" +github "reitermarkus/DDC.swift" "a29f1975f46745580990269a3dc26873737f24bb" github "rnine/AMCoreAudio" "3.2.1" github "shpakovski/MASPreferences" "1.3" github "the0neyouseek/MediaKeyTap" "abfe09f53ccabb1aa14a0f4ab99cfb8812f41919" diff --git a/MonitorControl/Info.plist b/MonitorControl/Info.plist index 228e165..78dcdc0 100644 --- a/MonitorControl/Info.plist +++ b/MonitorControl/Info.plist @@ -19,7 +19,7 @@ CFBundleShortVersionString 1.5.1 CFBundleVersion - 272 + 289 LSApplicationCategoryType public.app-category.utilities LSMinimumSystemVersion diff --git a/MonitorControl/Support/Utils.swift b/MonitorControl/Support/Utils.swift index 438e7e5..6406934 100644 --- a/MonitorControl/Support/Utils.swift +++ b/MonitorControl/Support/Utils.swift @@ -40,7 +40,7 @@ class Utils: NSObject { } } - var values: (UInt8, UInt8)? + var values: (UInt16, UInt16)? if display.needsLongerDelay { values = display.ddc?.read(command: command, tries: 10, minReplyDelay: UInt64(20 * kMillisecondScale)) @@ -48,7 +48,7 @@ class Utils: NSObject { values = display.ddc?.read(command: command, tries: 10) } - let (currentValue, maxValue) = values ?? (UInt8(display.getValue(for: command)), UInt8(display.getMaxValue(for: command))) + let (currentValue, maxValue) = values ?? (UInt16(display.getValue(for: command)), UInt16(display.getMaxValue(for: command))) display.saveValue(Int(currentValue), for: command) display.saveMaxValue(Int(maxValue), for: command) diff --git a/MonitorControlHelper/Info.plist b/MonitorControlHelper/Info.plist index 40bf2de..1f39d73 100644 --- a/MonitorControlHelper/Info.plist +++ b/MonitorControlHelper/Info.plist @@ -19,7 +19,7 @@ CFBundleShortVersionString 1.5.1 CFBundleVersion - 272 + 289 LSApplicationCategoryType public.app-category.utilities LSBackgroundOnly