Kinsey Moore started a new discussion on stm32h7/ethernetif.c: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/37#note_139883 > +#ifdef _TRACE_MODE_ > + #define TRACE_PRINTF(...) printf(__VA_ARGS__) > +#else > + #define TRACE_PRINTF(...) do { } while (0) > +#endif > #endif > > /* USER CODE END 0 */ > > /* Private define > ------------------------------------------------------------*/ > /* The time to block waiting for input. */ > +#ifndef __rtems__ > #define TIME_WAITING_FOR_INPUT ( portMAX_DELAY ) > +#else > +#define TIME_WAITING_FOR_INPUT ( 0 ) /* RTEMS: 0 = wait forever */ > +#endif It is simpler to define `portMAX_DELAY` to 0 in an `#ifdef` block above. -- View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/37#note_139883 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
