Revert "use MONOTONIC instead of REALTIME"

This reverts commit b45457d858.
This commit is contained in:
c0ntrol
2020-07-07 01:15:26 +02:00
parent b45457d858
commit 8965d18cd6
4 changed files with 10 additions and 10 deletions

View File

@@ -58,7 +58,7 @@ static void net_delay(long ms, long sec )
struct timespec ts;
ts.tv_sec = sec;
ts.tv_nsec = MS_TO_NANO( ms );
clock_nanosleep( CLOCK_MONOTONIC,0, &ts, NULL );
clock_nanosleep( CLOCK_REALTIME,0, &ts, NULL );
}
static int my_screen_id = -1;