#include <unistd.h>
#include <pthread.h>
#include "lphy_stub.h"
+#include "du_log.h"
void *GenerateTicks(void *arg)
{
while(counter)
{
sleep(1);
- printf("\nPHY_STUB: SLOT indication");
+ DU_LOG("\nPHY_STUB: SLOT indication");
/* Send Slot indication indication to lower mac */
buildAndSendSlotIndication();
counter--;
ret = pthread_create(&thread, NULL, GenerateTicks, NULL);
if(ret)
{
- printf("\nPHY_STUB: Unable to create thread");
+ DU_LOG("\nPHY_STUB: Unable to create thread");
}
}