Skip to content

Commit

Permalink
clock_interval_to_deadline from 2 to 10
Browse files Browse the repository at this point in the history
  • Loading branch information
integralpro committed Mar 25, 2013
1 parent ff3bbbf commit 571d1f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NoSleep/NoSleepKext/NoSleepExtension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ IOReturn NoSleepExtension::clamshellEventInterestHandler(UInt32 messageType, IOS
setUserSleepDisabled(true);

UInt64 deadline;
clock_interval_to_deadline(2, kSecondScale, &deadline);
clock_interval_to_deadline(10, kSecondScale, &deadline);
thread_call_enter_delayed(delayTimer, deadline);

if(clamshellShouldSleep) {
Expand Down

0 comments on commit 571d1f8

Please sign in to comment.