From: lal.harshita Date: Thu, 23 Sep 2021 05:51:26 +0000 (+0530) Subject: Fix for segmentation fault in TDD [Issue-ID: ODUHIGH-342] X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=a7355f2b8c7d53e5373481d4a074ea4b84994556;p=o-du%2Fl2.git Fix for segmentation fault in TDD [Issue-ID: ODUHIGH-342] Change-Id: I7426c5a5a7cb44ce181ececf6050e35267cf9aa5 Signed-off-by: lal.harshita --- 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};