X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fphy_stub%2Fl1_bdy2.c;h=d45ede3a9330888ca1c6fedc48a4db34a8dfa9ee;hb=b490cd1231cfcc837e8bfccc40c6bb106dceef7c;hp=43a7864697ec29fdac2fd8d8c2256951b928a4d1;hpb=694d8fa8539d4b69710b61d01d5a0535bb98716e;p=o-du%2Fl2.git diff --git a/src/phy_stub/l1_bdy2.c b/src/phy_stub/l1_bdy2.c index 43a786469..d45ede3a9 100644 --- a/src/phy_stub/l1_bdy2.c +++ b/src/phy_stub/l1_bdy2.c @@ -22,6 +22,9 @@ #include #include #include "lphy_stub.h" +#include "du_log.h" + +uint16_t l1BuildAndSendSlotIndication(); void *GenerateTicks(void *arg) { @@ -29,9 +32,9 @@ void *GenerateTicks(void *arg) 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"); } }