Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
warning set 4
[o-du/l2.git]
/
src
/
phy_stub
/
l1_bdy2.c
diff --git
a/src/phy_stub/l1_bdy2.c
b/src/phy_stub/l1_bdy2.c
index
43a7864
..
1db65f4
100644
(file)
--- a/
src/phy_stub/l1_bdy2.c
+++ b/
src/phy_stub/l1_bdy2.c
@@
-22,6
+22,9
@@
#include <unistd.h>
#include <pthread.h>
#include "lphy_stub.h"
#include <unistd.h>
#include <pthread.h>
#include "lphy_stub.h"
+#include "du_log.h"
+
+uint16_t l1BuildAndSendSlotIndication();
void *GenerateTicks(void *arg)
{
void *GenerateTicks(void *arg)
{
@@
-29,11
+32,11
@@
void *GenerateTicks(void *arg)
while(counter)
{
sleep(1);
while(counter)
{
sleep(1);
- printf("\nPHY_STUB: SLOT indication");
/* Send Slot indication indication to lower mac */
/* Send Slot indication indication to lower mac */
-
b
uildAndSendSlotIndication();
+
l1B
uildAndSendSlotIndication();
counter--;
}
counter--;
}
+ return((void *)NULLP);
}
void duStartSlotIndicaion()
}
void duStartSlotIndicaion()
@@
-44,7
+47,7
@@
void duStartSlotIndicaion()
ret = pthread_create(&thread, NULL, GenerateTicks, NULL);
if(ret)
{
ret = pthread_create(&thread, NULL, GenerateTicks, NULL);
if(ret)
{
-
printf
("\nPHY_STUB: Unable to create thread");
+
DU_LOG
("\nPHY_STUB: Unable to create thread");
}
}
}
}