Examples | rtems-examples: Add Scrutiny initialization code (!34)

Gedare Bloom (@gedare) gitlab at rtems.org
Tue Sep 1 19:55:12 UTC 2026




Gedare Bloom started a new discussion on scrutiny/init/test.c: https://gitlab.rtems.org/rtems/rtos/rtems-examples/-/merge_requests/34#note_158458

 > +    uint16_t to_send = scrutiny_c_main_handler_data_to_send( scrutiny_handler );
 > +
 > +    if ( to_send > 0 ) {
 > +        uint16_t sent = scrutiny_c_main_handler_pop_data( scrutiny_handler, out_buffer, sizeof(out_buffer) );
 > +        write( USART2, out_buffer, sent );
 > +    }
 > +
 > +    last_timestamp = timestamp;
 > +
 > +    rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
 > +  }
 > +}
 > +
 > +rtems_task task_100hz( rtems_task_argument ignored ) 
 > +{
 > +  while(true) {

keep the formatting consistent. I would stick to clang-format with the rtems style.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems-examples/-/merge_requests/34#note_158458
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/5-0efqfwoav41br87u5nlyz6i2y-9/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260901/8860cad2/attachment.htm>


More information about the bugs mailing list