X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fphy_stub%2Fl1_bdy2.c;h=8e79dbae5d9b188b1262f30608eda25761d0c66f;hb=8d9ebf64c8a64bf1346685833fe79970c4ef3d14;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..8e79dbae5 100644 --- a/src/phy_stub/l1_bdy2.c +++ b/src/phy_stub/l1_bdy2.c @@ -22,16 +22,18 @@ #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--; } } @@ -44,7 +46,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"); } }