Skip to content

Commit 94aff76

Browse files
committed
Correct comment and remove a lost asterisk
1 parent b7c55ee commit 94aff76

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

source/portable/NetworkInterface/Zynq/x_emacpsif.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060

6161
extern XEmacPs_Config mac_configs[ XPAR_XEMACPS_NUM_INSTANCES ];
6262

63-
*
6463
void xemacpsif_setmac( uint32_t index,
6564
uint8_t * addr );
6665
uint8_t * xemacpsif_getmac( uint32_t index );

source/portable/NetworkInterface/Zynq/x_emacpsif_dma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ void emacps_send_handler( void * arg )
222222
*/
223223
xemacpsif->isr_events |= EMAC_IF_TX_EVENT;
224224

225-
/* Take the mutex without blocking. */
225+
/* Give to the mutex so that a new packet can be sent from emacps_send_message(). */
226226
xSemaphoreGiveFromISR( xemacpsif->txMutex, &xHigherPriorityTaskWoken );
227227

228228
if( xEMACTaskHandles[ xEMACIndex ] != NULL )

0 commit comments

Comments
 (0)