Ning Yang commented on a discussion on bsps/shared/dev/serial/arm-pl011.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/47#note_109615 > + */ > + context->needs_sw_triggered_tx_irq = true; > +#endif > + return true; > +} > + > +static bool arm_pl011_first_open( > struct rtems_termios_tty *tty, > rtems_termios_device_context *base, > struct termios *term, > rtems_libio_open_close_args_t *args > ) > { > - arm_pl011_context *ctx = (arm_pl011_context *) base; > +#ifndef BSP_CONSOLE_USE_INTERRUPTS > + const `#ifndef` is used here. because the next line `context->tty = tty;` needs to modify tty and `const` cannot be used. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/47#note_109615 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list bugs@rtems.org http://lists.rtems.org/mailman/listinfo/bugs