nova verzija tcp+udp->serial com

UdpToScom.cpp

Committer:
Bosko Lekovic
Date:
2020-05-17
Revision:
18:5ee53205451a
Parent:
17:74c41e3f10b8
Child:
19:7bdb1a10043f

File content as of revision 18:5ee53205451a:

#include "mbed.h"
#include "clubbing.h"
#include "UdpToScom.h"
#include "EthernetSetup.h"



extern EthernetInterface *gp_eth;





void init_EthToScom( void )
{
//  gp_eth = ethernet_setup(  );

//  if(gp_eth == NULL) printf("ethernet greska"); 
//  else printf("eth OK\n\r");
 
 ethRiseUp(  );

  //ethRestart( );


      scomRxThreadRiseUp(  );
 
     // udpRxThreadsRiseUp(  );

}