Skip to content

Commit

Permalink
Merge pull request #17 from balanceTWK/master
Browse files Browse the repository at this point in the history
【修复】 警告 | fix warning
  • Loading branch information
armink authored Nov 27, 2018
2 parents 56c7f34 + 74c9b3e commit 11e37b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion ioLibrary/Ethernet/wizchip_conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,10 @@ void wizchip_sw_reset(void)

int8_t wizchip_init(uint8_t* txsize, uint8_t* rxsize)
{
int8_t i,j;
#if _WIZCHIP_ < W5200 // add condition for w5100
int8_t j;
#endif
int8_t i;
int8_t tmp = 0;
wizchip_sw_reset();
if(txsize)
Expand Down
2 changes: 1 addition & 1 deletion src/wiz_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ static void wiz_data_thread_entry(void *parameter)

while (1)
{
if (rt_mb_recv(wiz_rx_mb, (rt_uint32_t*) &dev, RT_WAITING_FOREVER) == RT_EOK)
if (rt_mb_recv(wiz_rx_mb, (rt_ubase_t*) &dev, RT_WAITING_FOREVER) == RT_EOK)
{
uint8_t ir, sir, sn_ir;
int8_t socket = -1;
Expand Down

0 comments on commit 11e37b7

Please sign in to comment.