From a7355f2b8c7d53e5373481d4a074ea4b84994556 Mon Sep 17 00:00:00 2001 From: "lal.harshita" Date: Thu, 23 Sep 2021 11:21:26 +0530 Subject: [PATCH] Fix for segmentation fault in TDD [Issue-ID: ODUHIGH-342] Change-Id: I7426c5a5a7cb44ce181ececf6050e35267cf9aa5 Signed-off-by: lal.harshita --- src/phy_stub/phy_stub_thread_hdl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/phy_stub/phy_stub_thread_hdl.c b/src/phy_stub/phy_stub_thread_hdl.c index e7d24fdca..261253062 100644 --- a/src/phy_stub/phy_stub_thread_hdl.c +++ b/src/phy_stub/phy_stub_thread_hdl.c @@ -50,9 +50,9 @@ pthread_t thread = 0; void GenerateTicks() { #ifdef NR_TDD - int milisec = 0.5; /* 0.5ms */ + float milisec = 0.5; /* 0.5ms */ #else - int milisec = 1; /* 1ms */ + float milisec = 1; /* 1ms */ #endif struct timespec req = {0}; -- 2.16.6