Skip to content

Commit

Permalink
microudp: fix compilation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Bourdeauducq committed Jun 11, 2013
1 parent 45cfdf4 commit 6f2c05d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion software/include/net/microudp.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

typedef void (*udp_callback)(unsigned int src_ip, unsigned short src_port, unsigned short dst_port, void *data, unsigned int length);

void microudp_start(unsigned char *macaddr, unsigned int ip);
void microudp_start(const unsigned char *macaddr, unsigned int ip);
int microudp_arp_resolve(unsigned int ip);
void *microudp_get_tx_buffer(void);
int microudp_send(unsigned short src_port, unsigned short dst_port, unsigned int length);
Expand Down
2 changes: 1 addition & 1 deletion software/libnet/microudp.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ static void process_frame(void)
else if(rxbuffer->frame.eth_header.ethertype == ETHERTYPE_IP) process_ip();
}

void microudp_start(unsigned char *macaddr, unsigned int ip)
void microudp_start(const unsigned char *macaddr, unsigned int ip)
{
int i;

Expand Down

0 comments on commit 6f2c05d

Please sign in to comment.