]> git.sur5r.net Git - freertos/blobdiff - Demo/CORTEX_A2F200_IAR_and_Keil/uIP_Task.c
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1375 1d2547de-c912-0410...
[freertos] / Demo / CORTEX_A2F200_IAR_and_Keil / uIP_Task.c
index bc7ad544ee13c265806a631ef432852ef8b98cff..914e570a54be53b36d4bfab7657ae7cc7bc24f28 100644 (file)
@@ -114,19 +114,19 @@ static void prvSetMACAddress( void );
 \r
 /*\r
  * Perform any uIP initialisation required to ready the stack for http\r
- * processing.
+ * processing.\r
  */\r
 static void prvInitialise_uIP( void );\r
 \r
 /*\r
- * Handles Ethernet interrupt events.
+ * Handles Ethernet interrupt events.\r
  */\r
 static void prvEMACEventListener( unsigned long ulISREvents );\r
 \r
 static void prvUIPTimerCallback( xTimerHandle xTimer );\r
 \r
 /*\r
- * Initialise the MAC hardware.
+ * Initialise the MAC hardware.\r
  */\r
 static void prvInitEmac( void );\r
 \r
@@ -383,7 +383,7 @@ const unsigned char ucPHYAddress = 1;
 \r
        MSS_MAC_init( ucPHYAddress );\r
 \r
-       MSS_MAC_set_callback( prvEMACEventListener );\r
+       MSS_MAC_set_callback( ( MSS_MAC_callback_t ) prvEMACEventListener );\r
 \r
     /* Setup the EMAC and the NVIC for MAC interrupts. */\r
     NVIC_SetPriority( EthernetMAC_IRQn, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY );\r