From 02c3d72a4b82f70299d9d5765bb11649897ae2af Mon Sep 17 00:00:00 2001 From: Starnakin Date: Thu, 16 Jan 2025 13:43:14 +0100 Subject: [PATCH] core: add set variable in static --- src/drivers/clock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/clock.c b/src/drivers/clock.c index 4d504e8..a613b75 100644 --- a/src/drivers/clock.c +++ b/src/drivers/clock.c @@ -13,8 +13,8 @@ #define PIT_COUNT (65535 / 2) #define DELAY (1000 / (PIT_FREQUENCY / PIT_COUNT)) -uint32_t sleep_counter; -uint32_t scheduler_counter; +static uint32_t sleep_counter; +static uint32_t scheduler_counter; static void clock_handler(struct registers *regs);