From 16998f131c5da3416d91e7d06f412c5ef8e8aedc Mon Sep 17 00:00:00 2001 From: Koichiro Iwao Date: Wed, 21 Aug 2024 22:08:50 +0900 Subject: [PATCH] Constify a raw 40ms timer --- module/rdpClientCon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/rdpClientCon.c b/module/rdpClientCon.c index 8b3ac2f..c8ea952 100644 --- a/module/rdpClientCon.c +++ b/module/rdpClientCon.c @@ -2539,7 +2539,7 @@ rdpClientConScheduleDeferredUpdate(rdpPtr dev) { dev->sendUpdateScheduled = TRUE; dev->sendUpdateTimer = - TimerSet(dev->sendUpdateTimer, 0, 40, + TimerSet(dev->sendUpdateTimer, 0, MIN_MS_BETWEEN_FRAMES, rdpClientConDeferredUpdateCallback, dev); } }