We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 56c7f34 + 74c9b3e commit 11e37b7Copy full SHA for 11e37b7
ioLibrary/Ethernet/wizchip_conf.c
@@ -418,7 +418,10 @@ void wizchip_sw_reset(void)
418
419
int8_t wizchip_init(uint8_t* txsize, uint8_t* rxsize)
420
{
421
- int8_t i,j;
+#if _WIZCHIP_ < W5200 // add condition for w5100
422
+ int8_t j;
423
+#endif
424
+ int8_t i;
425
int8_t tmp = 0;
426
wizchip_sw_reset();
427
if(txsize)
src/wiz_device.c
@@ -49,7 +49,7 @@ static void wiz_data_thread_entry(void *parameter)
49
50
while (1)
51
52
- 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)
53
54
uint8_t ir, sir, sn_ir;
55
int8_t socket = -1;
0 commit comments