X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fphy_stub%2Fl1_bdy2.c;h=1db65f485a444ee56e60977b8571a563f09ced27;hb=8340c342ebcfc82193c3f66e7f15047c1e37399b;hp=523936af47905d26cd734f1c7ab82620c6dfe692;hpb=5d64905a366e340b65b01021ec4eec4f7350a94e;p=o-du%2Fl2.git diff --git a/src/phy_stub/l1_bdy2.c b/src/phy_stub/l1_bdy2.c index 523936af4..1db65f485 100644 --- a/src/phy_stub/l1_bdy2.c +++ b/src/phy_stub/l1_bdy2.c @@ -22,18 +22,21 @@ #include #include #include "lphy_stub.h" +#include "du_log.h" + +uint16_t l1BuildAndSendSlotIndication(); void *GenerateTicks(void *arg) { - uint8_t counter = 2; + uint8_t counter = 100; while(counter) { sleep(1); - printf("\nPHY_STUB: SLOT indication"); /* Send Slot indication indication to lower mac */ - buildAndSendSlotIndication(); + l1BuildAndSendSlotIndication(); counter--; } + return((void *)NULLP); } void duStartSlotIndicaion() @@ -44,7 +47,7 @@ void duStartSlotIndicaion() ret = pthread_create(&thread, NULL, GenerateTicks, NULL); if(ret) { - printf("\nPHY_STUB: Unable to create thread"); + DU_LOG("\nPHY_STUB: Unable to create thread"); } }