Ignore:
Timestamp:
Jan 29, 2018, 5:48:47 PM (4 years ago)
Author:
alain
Message:

cosmetic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/devices/dev_txt.c

    r408 r422  
    6262    else        snprintf( txt->name , 16 , "txt%d_tx" , channel );
    6363
     64    // set TXT chdev extension
     65    txt->ext.txt.owner_xp = XPTR_NULL;
     66    xlist_root_init( XPTR( local_cxy, &txt->ext.txt.root ) );
     67    remote_spinlock_init( XPTR( local_cxy , &txt->ext.txt.lock ) );
     68   
    6469    // call driver init function
    6570    hal_drivers_txt_init(txt, impl);
    6671
    67     // no server thread and no IRQ routing for TXT0 and IMPL_TXT_RS2 (multiplexed
    68     // in software, not hardware)
     72    // no server thread and no IRQ routing for TXT0
     73    // no server thread for IMPL_TXT_RS2 (multiplexed in software, not hardware)
    6974    if( channel != 0 && impl != IMPL_TXT_RS2 )
    7075    {
Note: See TracChangeset for help on using the changeset viewer.