X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fphy_stub%2Fl1_bdy2.c;h=d45ede3a9330888ca1c6fedc48a4db34a8dfa9ee;hb=b490cd1231cfcc837e8bfccc40c6bb106dceef7c;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..d45ede3a9 100644 --- a/src/phy_stub/l1_bdy2.c +++ b/src/phy_stub/l1_bdy2.c @@ -22,16 +22,19 @@ #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"); + DU_LOG("\n\nPHY_STUB: SLOT indication"); /* Send Slot indication indication to lower mac */ - buildAndSendSlotIndication(); + l1BuildAndSendSlotIndication(); counter--; } } @@ -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"); } }