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


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to