Fix for segmentation fault in TDD [Issue-ID: ODUHIGH-342]
[o-du/l2.git] / src / phy_stub / phy_stub_thread_hdl.c
index e7d24fd..2612530 100644 (file)
@@ -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};