Matteo Concas commented on a discussion on rtemslwip/greth/greth_netif.c: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_152482 > + * @brief Initialize semaphore and thread for interrupt > + * @param netif Pointer to lwIP netif structure > + * @retval ERR_OK Successful Thread and Semaphore creation > + * @retval err_t Error in Thread or Semaphore creation > + */ > +static err_t greth_init_control_structures( struct netif *netif ) > +{ > + err_t res; > + sys_thread_t tx_thread_id; > + struct greth_netif_state *nf_state; > + > + nf_state = netif->state; > + > + res = sys_sem_new( &nf_state->irq_sem, 0 ); > + if ( res != ERR_OK ) { > + sys_arch_printk( Changed to calls to `printk()`. -- View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_152482 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
